🔢 Number Theory

Number Sequence Calculator

Identify the pattern in any number sequence — arithmetic, geometric, Fibonacci, square, cube, prime, triangular — and generate the next N terms with the nth-term formula.

Enter Sequence

Enter at least 3 numbers to detect the pattern
Supports arithmetic, geometric, Fibonacci, squares, cubes, primes, and triangular sequences.

Frequently Asked Questions

What is an arithmetic sequence?
An arithmetic sequence has a constant difference between consecutive terms. For example, 3, 7, 11, 15 has a common difference of 4. The nth term formula is: aₙ = a₁ + (n-1)d.
What is a geometric sequence?
A geometric sequence has a constant ratio between consecutive terms. For example, 2, 6, 18, 54 has a common ratio of 3. The nth term is: aₙ = a₁ × rⁿ⁻¹.
What are Fibonacci numbers?
The Fibonacci sequence starts with 0, 1 (or 1, 1) and each subsequent number is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21… It appears extensively in nature, art, and mathematics.