LinearRecurrence
The sequence of a linear recurrence with constant coefficients, from its kernel and initial values.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
LinearRecurrence✓LinearRecurrence(kernel, init, n)the first terms of , seeded by .LinearRecurrence(kernel, init, {m})just the -th term, as a one-element list.LinearRecurrence(kernel, init, {m1, m2})the terms from index through , inclusive.Typed signatures
| Type | Package | Applies |
|---|---|---|
(kernel: list<any>, init: list<any>, n: integer | list<integer>) -> list<any> | combinatorics | always |
Details
- Exact throughout: an integer or rational and stay integer or rational all the way out, never floating point.
Examples
1 more kept as data, checked against the oraclesApplications #
Possible issues #
About
| Examples | 20 |
|---|---|
| Checked against | Wolfram Language 20 agree |
| Crosswalk | Wolfram Language |
See also: RecurrenceTable, Fibonacci, LucasL