Linear recurrence with constant coefficients, WMA link
LinearRecurrence
[ker, init, n]LinearRecurrence
[ker, init, {n}]LinearRecurrence
[ker, init, {$n_{min}$, $n_{max}$}] Generate first 10 items of the Fibonacci Sequence, F
[0]=1, F
[1]=1:
LinearRecurrence[{1, 1}, {1, 1}, 10]
Extract the 3rd to 5th elements:
LinearRecurrence[{1, 1}, {1, 1}, {3, 5}]
Now just the 6th element:
LinearRecurrence[{1, 1}, {1, 1}, {6}]
See also Fibonacci.