HomeCalculatorsMathNumber Theory & Discrete MathSequence Calculator
Math calculator

Sequence Calculator

Integer arithmetic and geometric sequences, Fibonacci (F₀=0), and linear recurrences. Exact BigInt. Not Pascal’s triangle. Runs locally.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary Engine tested · Specification checked · 12/12 tests · Production surface contract 4/4 · v1.0.0
Input interpretation
Enter values to calculate.
Result
Model
a_n / F_n / u_n for integer sequences, plus S_n for AP/GP/Fibonacci.
Scope
Integers
Verification
Engine tested · 12/12 tests · Production surface contract 4/4 · Specification checked · v1.0.0
Named expert review
Optional · Not performed
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Specification basis
Evidence
4 golden · 2 boundary · 6 property · Production surface contract 4/4 · Artifact integrity PASS
Production
Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
Semantic contract
PASS

Formulas

Core equations used by this calculator.

Arithmetica_n = a + (n−1)d
Geometrica_n = a r^{n−1}
FibonacciF_n = F_{n−1} + F_{n−2}
iIntegers only. Exact BigInt. n ≤ 1000. Not Pascal’s triangle, not integer partition, not n!. Engine id is sequence — never the add/sub arithmetic engine.

How to use

1

Choose a mode

Arithmetic, geometric, Fibonacci, or linear recurrence. Locked discovery URLs exist for the first three.

2

Enter n and the parameters

Fibonacci allows n=0. Arithmetic/geometric need n≥1.

3

Read a_n (and S_n)

Sums are exact integers.

Example calculations

Common configurations with formula and result.

ϟ

AP

a=2 d=3 n=5

2,5,8,11,14
14
ϟ

GP

a=3 r=2 n=4

3,6,12,24
24
ϟ

F_10

F_0=0

F_10
55

Sequence calculator specification

Version 1.0.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
Closed forms for arithmetic and geometric sequences, iterative Fibonacci F₀=0 F₁=1, and uₙ = p uₙ₋₁ + q uₙ₋₂. Discovery pages share this capability. Not combinatorics.
What it calculates
a_n / F_n / u_n for integer sequences, plus S_n for AP/GP/Fibonacci.
Inputs
  • mode
  • n
  • a
  • d
  • r
  • p
  • q
  • a0
  • a1
Outputs
  • term
  • sum
  • exact
Formula
a_n = a+(n−1)d or a r^{n−1}; F_n recurrence
Assumptions
  • Integers
  • n ≤ 1000
  • Not Pascal / partition / n!
Units
  • dimensionless
Boundary conditions
  • unknown mode (including pascal) → INVALID_MODE
  • n=0 on AP/GP → VALUE_MUST_BE_POSITIVE
  • n>1000 → VALUE_ABOVE_MAX
Example
mode=arithmetic a=2 d=3 n=5 → 14
Validation cases

2 published on this page · 12/12 tests · Production surface contract 4/4 · View evidence

  • mode=arithmetic a=2 d=3 n=5 → term=14 sum=40
  • mode=fibonacci n=10 → 55
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Calculation version
1.0.0
}

Frequently asked questions

Key distinctions behind the calculation.

Is this Pascal’s triangle?

No. Binomial coefficients stay /calc/math/permutation-combination. Integer partition is out of scope.

Which Fibonacci indexing?

F_0=0, F_1=1. Linear recurrence with p=q=1, a0=0, a1=1 is the same sequence.

Where does this run?

Locally in the browser by default. REST and MCP call the same sequence engine.