문제

Is there an algorithm that can find the recurrence relation causing a given serie?

For example:

Serie: 1, 3, 7, 15, 31, 63, 127

Enter this serie in an algorithm and it finds out the "most parsimonious" (or one of the most parsimonious) recurrence relation. In my example, the equation is

x(t+1) = x(t)*2 + 1

도움이 되었습니까?

해결책

Definitely not. In common case this problem upcomes to Kolmogorov complexity problem, which is incomputable in terms of algorithm theory.

May be, if you'll add conditions for your function (for example, it is polynom with discrete coefficients and powers) - then you'll have a chance.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top