Exact Linear Recurrence Workbench
Generate an integer sequence from your own finite-order recurrence and inspect exact indexed terms without expression evaluation.
Loading tool…
How to use Exact Linear Recurrence Workbench
The coefficients are ordered from the immediately preceding term to the oldest dependency: a[n] = c[0]a[n−1] + c[1]a[n−2] + …. Supplied initial terms start at index zero. BigInt arithmetic preserves each supported integer exactly.
- Enter coefficient json (newest dependency first), initial term json (index zero first), output term count.
- Choose the stated convention and check the units and supported model.
- Calculate, inspect the result, then copy or download it.
Good to know
- Order 1–10, exactly one initial term per coefficient, and 1–500 output terms. Inputs are integers of magnitude at most 1000000; intermediate values are limited to 8192 bits. No symbolic expressions, variable coefficients, arbitrary code, closed-form solving or automatic sequence discovery. Requesting fewer terms than the order returns the corresponding initial prefix.
- Local calculation only; no input persistence or external lookup. Text/JSON is limited to 30000 characters and output to 1000000 characters. Numeric model inputs and precision/work limits are stated on this page. Approximate JSON numbers retain full stored values; exact arithmetic outputs retain decimal or fraction strings. Unsupported states fail explicitly.
Common questions
Which coefficient multiplies the oldest term?
The last coefficient multiplies the oldest dependency. For order two, the rule is a[n] = c[0]a[n−1] + c[1]a[n−2]. This convention is stated explicitly so reversing the kernel cannot silently change the sequence.
Is the input uploaded or saved?
No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.
Keep going with related tools
All education →Arithmetic and Geometric Sequence Calculator
Find a progression’s nth term and finite sum with explicit zero-count and unit-ratio behavior.
MathFinite Difference Table Calculator
Build exact differences across a bounded observation list without inferring a unique sequence formula.
EducationRestricted Integer Partition Workbench
Count unordered integer partitions with part-size, distinctness and exact-length constraints, then inspect a bounded example list.