FindLinearRecurrence[list]
finds if possible the minimal linear recurrence that generates list.
FindLinearRecurrence[list,d]
finds if possible the linear recurrence of maximum order d that generates list.
FindLinearRecurrence
FindLinearRecurrence[list]
finds if possible the minimal linear recurrence that generates list.
FindLinearRecurrence[list,d]
finds if possible the linear recurrence of maximum order d that generates list.
Details
- FindLinearRecurrence gives the shortest kernel ker which reproduces list from LinearRecurrence[ker,init,…]. The initial list init comes from the first elements in list.
- FindLinearRecurrence[list] will find the coefficients {a1,…,ad} such that LinearRecurrence[{a1,…,ad},list[[1;;d]],Length[list]] generates list.
Examples
Basic Examples (3)
Find linear recurrences for simple sequences:
FindLinearRecurrence[Table[2 ^ k, {k, 10}]]FindLinearRecurrence[Table[Fibonacci[k], {k, 10}]]FindLinearRecurrence[Table[Fibonacci[k] Fibonacci[k - 1] ^ 2, {k, 10}]]Generate data from a linear recurrence:
data = LinearRecurrence[{4, 3, 2, 1}, {1, 2, 3, 4}, 10]Find the underlying recurrence equation:
FindLinearRecurrence[data]data = Simplify@LinearRecurrence[{4, 3, 2, 1}, {a, b, c, d}, 10]FindLinearRecurrence[data]See Also
LinearRecurrence FindSequenceFunction FindTransientRepeat NullSpace
Function Repository: FindLinearRecurrenceEquations
Related Guides
Related Links
History
Text
Wolfram Research (2008), FindLinearRecurrence, Wolfram Language function, https://reference.wolfram.com/language/ref/FindLinearRecurrence.html.
CMS
Wolfram Language. 2008. "FindLinearRecurrence." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindLinearRecurrence.html.
APA
Wolfram Language. (2008). FindLinearRecurrence. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindLinearRecurrence.html
BibTeX
@misc{reference.wolfram_2026_findlinearrecurrence, author="Wolfram Research", title="{FindLinearRecurrence}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/FindLinearRecurrence.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_findlinearrecurrence, organization={Wolfram Research}, title={FindLinearRecurrence}, year={2008}, url={https://reference.wolfram.com/language/ref/FindLinearRecurrence.html}, note=[Accessed: 12-June-2026]}