The number sequence generator creates arithmetic, geometric and Fibonacci-style sequences, plus square, cube and triangular numbers. Set the starting terms and how many you want, and get the list along with the nth-term formula and the sum. Big Fibonacci numbers stay exact, and the list can be copied in any format, all in your browser.
| Sequence | nth term | Sum of n terms |
|---|---|---|
| Arithmetic | a + (n − 1)d | n(2a + (n − 1)d) / 2 |
| Geometric | a·rⁿ⁻¹ | a(1 − rⁿ) / (1 − r) |
| Triangular | n(n + 1)/2 | n(n + 1)(n + 2)/6 |
One that adds the same amount each time: 3, 7, 11, 15 adds 4.
One that multiplies by the same ratio: 2, 6, 18, 54 multiplies by 3.
aₙ = a₁ + (n − 1)d.
Yes. Enter any two whole numbers, like 2 and 1 for the Lucas numbers.
No. It runs in your browser.
Arithmetic sequences add a common difference d each step, with nth term aₙ = a₁ + (n − 1)d and sum n(2a₁ + (n − 1)d) ÷ 2. Geometric sequences multiply by a common ratio r, with aₙ = a₁rⁿ⁻¹ and sum a₁(1 − rⁿ) ÷ (1 − r), or na₁ when r is 1. Fibonacci-style sequences start from any two whole numbers and add the previous two terms, using exact big integers so the 100th Fibonacci number (218,922,995,834,555,169,026) is shown in full. Square (n²), cube (n³) and triangular (n(n + 1) ÷ 2) numbers are included too. Up to 1,000 terms can be generated and copied with a comma, space or new-line separator.