Free Sequence Calculator

Sequence

PositionValue
a00
a11
a22
a33
a44
a55
a66
a77
a88
a99

What Is a Number Sequence?

A number sequence is an ordered collection of numbers where the position matters, values may repeat, and each term can be seen as the output of a function indexed by its place. Terms are usually denoted with the letter aa followed by a subscript indicating the position, e.g., a0a_0 is the first term, a1a_1 the second, and ana_n the term at index nn. This number sequence calculator online serves as both an arithmetic sequence solver and a geometric sequence calculator, and it includes a Fibonacci sequence generator as well as a prime number sequence finder — all in one tool.

Arithmetic Sequences

In an arithmetic sequence, consecutive terms differ by the same constant quantity dd. Formally, an−an−1=da_{n} - a_{n-1} = d for all nn. Starting from a first term a0a_0, any term can be obtained by adding dd repeatedly. The direct formula for the nth term (starting at n=0n = 0) is:

an=a0+n×da_n = a_0 + n \times d

If you know the value at some other index and the common difference, you can compute a0a_0 as well. For example, with d=5d = 5 and a0=0a_0 = 0, the first ten terms are 0, 5, 10, 15, 20, 25, 30, 35, 40, 45. On a graph, these points lie on a straight line whose slope equals dd. When using the arithmetic sequence solver part of this calculator, you supply the starting term and the difference, and it outputs the sequence for any requested index.

Geometric Sequences

A geometric sequence is defined by a constant ratio rr between adjacent terms: an/an−1=ra_{n} / a_{n-1} = r. To move forward, multiply the previous term by rr; to move backward, divide. The nth term (index starting at 0) is:

an=a0×rna_n = a_0 \times r^{n}

If r>1r > 1, the sequence grows extremely quickly, resembling exponential growth; if 0<r<10 < r < 1, it decays toward zero. For instance, with a0=1a_0 = 1 and r=2r = 2, the powers of two appear: 1, 2, 4, 8, 16, 32, … . The geometric sequence calculator mode accepts the initial term and the ratio and returns the requested terms.

Figurate Numbers: Squares, Cubes, and Triangles

Figurate numbers can be arranged into regular geometric shapes. The most famous are square numbers, where the nth square is simply n2n^{2}. Cube numbers are n3n^{3}. Triangular numbers are given by:

Tn=n(n+1)2T_n = \frac{n(n+1)}{2}

The table below compares the first ten values of these three figurate sequences (starting from n=0n = 0):

nSquare (n2n^2)Cube (n3n^3)Triangular (n(n+1)2\frac{n(n+1)}{2})
0000
1111
2483
39276
4166410
52512515
63621621
74934328
86451236
98172945

Notice the rapid increase in the cube column compared to the square column. Triangular numbers grow at a moderate pace. A neat relationship exists: the sum of two consecutive triangular numbers equals a square number, which can be verified from the table (e.g., T4+T5=10+15=25=52T_4 + T_5 = 10 + 15 = 25 = 5^2).

Prime Numbers

Prime numbers are integers greater than 1 that have no positive divisors except 1 and themselves. The prime number sequence begins 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, … . Neither 1 nor 0 is considered prime (though 1 was historically debated). Finding large primes usually requires advanced algorithms, but tabulated lists are widely available. The prime number sequence finder integrated into this calculator lets you generate primes up to a chosen limit.

Fibonacci Numbers

The Fibonacci sequence follows a recurrence relation where each term equals the sum of the two preceding terms:

Fn=Fn−1+Fn−2F_n = F_{n-1} + F_{n-2}

By convention, F0=0F_0 = 0 and F1=1F_1 = 1. This produces the sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, … . The growth is approximately exponential after the first few terms. The Fibonacci sequence generator in this calculator requires the first two terms (defaulting to 0 and 1) and can produce any desired number of subsequent terms.

Other Important Sequences

Powers of Two
This is essentially a geometric sequence with a0=1a_0 = 1 and r=2r = 2: 1, 2, 4, 8, 16, 32, 64, … . Powers of two are fundamental in computing and binary systems.

Factorial Numbers
The factorial of a non‑negative integer nn, denoted n!n!, is the product of all positive integers from 1 to nn (with 0!=10! = 1 by definition). The sequence of factorials begins: 1, 2, 6, 24, 120, 720, 5040, … . Factorials grow extremely fast and are vital in combinatorics and probability.

Star Numbers
Star numbers form another class of figurate numbers; they represent the number of dots that can be arranged in a six‑pointed star. The nth star number (with nn starting at 1) is:

Sn=6n(n−1)+1S_n = 6n(n-1) + 1

The first few star numbers are 1, 13, 37, 73, … . For example, the arrangement for n=3n = 3 contains 37 points.

Using the Sequence Calculator

To get the most out of this number sequence calculator:

  1. Choose the sequence type from the dropdown — arithmetic, geometric, Fibonacci, prime, power of two, factorial, or star.
  2. Set the starting index (the position from which terms should be displayed).
  3. Provide the required parameters:
    • Arithmetic: the first term a0a_0 and the common difference dd.
    • Geometric: the first term a0a_0 and the common ratio rr.
    • Fibonacci: the first two terms (default F0=0F_0 = 0, F1=1F_1 = 1).
    • Prime: enter the upper limit.
    • Others: may require an index or start value.
  4. Review the results: the calculator outputs the first five terms starting from the specified index, along with the formula used.

The calculator also works in reverse: if you supply a term that appears in the sequence, it may infer the missing parameters. Remember that a sequence is distinct from a series, which is the sum of its terms. If you need summed values, consider using a series calculator.

FAQ

1. How do I find the nth term of an arithmetic sequence?

Use the formula \(a_n = a_0 + n \times d\), where \(a_0\) is the first term, \(d\) is the common difference, and \(n\) is the index (starting from 0). For example, if \(a_0 = 0\) and \(d = 5\), the 10th term (\(n=9\)) is \(0 + 9 \times 5 = 45\).

2. What is the difference between a geometric sequence and an arithmetic sequence?

In an arithmetic sequence each term differs from the previous one by a constant difference (\(d\)). In a geometric sequence each term is multiplied by a constant ratio (\(r\)). The nth term formulas are \(a_n = a_0 + n \cdot d\) for arithmetic and \(a_n = a_0 \cdot r^{n}\) for geometric.

3. How does the Fibonacci sequence generator work?

It uses the recurrence \(F_n = F_{n-1} + F_{n-2}\). By default \(F_0 = 0\) and \(F_1 = 1\). You can change these starting values. The generator then computes as many terms as needed.

4. Can the sequence calculator handle prime numbers?

Yes. The prime number sequence finder allows you to input an upper limit, and it returns all primes up to that limit. For example, setting the limit to 30 gives 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.

5. What are figurate numbers? Give an example.

Figurate numbers can be arranged into a geometric shape. Square numbers (\(n^2\)) form a square array of dots. For instance, 36 dots make a 6 by 6 square. Triangular numbers (\(\frac{n(n+1)}{2}\)) form an equilateral triangle. 10 dots make a triangle with base 4.

How to Use

  1. Select the type of sequence you want to generate (Arithmetic, Geometric, Fibonacci, etc.).
  2. Fill in the required parameters - initial term, common difference/ratio, starting position, and number of terms.
  3. View the generated sequence terms instantly in a clean table format.