HOW IT WORKS
Arithmetic, geometric, and Fibonacci formulas
A number sequence is an ordered list of terms defined by a starting value and a recurrence rule. Switching modes applies the closed-form or exact integer recurrence for each sequence family.
Arithmetic Sequence
Each term increases by a constant common difference d:
aₙ = a₁ + (n − 1)d · Sₙ = (n ÷ 2)(a₁ + aₙ)Geometric Sequence
Each term is multiplied by a constant common ratio r:
aₙ = a₁ · rⁿ⁻¹ · Sₙ = a₁(1 − rⁿ) ÷ (1 − r) for r ≠ 1Fibonacci Sequence
Starting from F₀ = 0 and F₁ = 1, every subsequent term equals the sum of the two preceding terms using exact BigInt arithmetic:
Fₙ = Fₙ₋₁ + Fₙ₋₂