Number Sequence Generator
Generate arithmetic, geometric, Fibonacci, square, cube, prime and triangular number sequences instantly.
Disclaimer. This calculator is provided for educational and general-purpose use. Verify critical or high-stakes calculations independently before relying on them. Read full disclaimer →
About the Number Sequence Generator
This tool generates the first n terms of several classic number sequences. Arithmetic sequences add a constant difference d each step (a, a+d, a+2d, …). Geometric sequences multiply by a constant ratio r each step (a, a×r, a×r², …). The Fibonacci sequence starts at 1, 1 and each following term is the sum of the previous two. Perfect squares and perfect cubes are simply i² and i³ for i = 1, 2, 3, …. The primes option lists consecutive prime numbers using trial-division primality testing. Triangular numbers use the formula Tn = n(n+1)/2, representing the sum of the first n natural numbers.
The custom option takes your first two terms and continues the sequence by treating the difference between them as constant — effectively an arithmetic continuation rather than detecting a more complex underlying pattern (geometric, polynomial, etc.). For every sequence type, the tool also reports the sum of the generated terms and the value of the final term.