Recursive Sequence Calculator
Enter the coefficients, seed values, and term count to generate the sequence.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
A second-order linear recurrence defines each term from the two before it: a(n) = p·a(n-1) + q·a(n-2) + r. Set p=q=1, r=0 and seed with 0,1 and you get the Fibonacci sequence; different coefficients generate Lucas numbers, Pell numbers, and countless other classic sequences.
Recurrences like this appear throughout computer science and mathematics — analyzing the running time of recursive algorithms, modeling population growth, and describing digital filters in signal processing — because many real processes depend on their two most recent states rather than an explicit formula for the n-th term.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)