Skip to content

FindLinearRecurrence

Finds a minimal linear recurrence for a sequence.

$ wo 'FindLinearRecurrence[{1, 2, 4, 8, 16, 32}]'
{2}