nth Term Calculator: Arithmetic, Geometric & Quadratic
Identify a sequence rule and test the proposed nth term against several positions.
Quick Answer
Choose a known sequence type, or use From Sequence to test arithmetic, geometric and quadratic patterns.
An nth-term rule tells you the value at position n. For 7, 11, 15, 19, …, the arithmetic rule is tn = 4n + 3, so the 10th term is 43. Use this calculator to find a rule, see the working and check a particular term.
Find the nth term
Choose a known sequence type, or use From Sequence to test arithmetic, geometric and quadratic patterns. Positions start at n = 1.
Enter integers, decimals, simple fractions such as −3/4, or scientific notation such as 2e-3. Use up to 12 digits per number (per integer in a fraction); scientific exponents must be from −12 to 12. Use a whole-number position from 1 to 1000. Commas separate terms, so write 1000 rather than 1,000.
A matching pattern is a candidate rule. A finite list can fit infinitely many continuations. This tool checks every supplied term exactly, but it cannot prove what the next term was intended to be. Rounded measurements are not automatically treated as exact patterns.
What does “nth term” mean?
The letter n is a position, not a term value. If tn = 3n + 2, the fourth term is t4 = 3 × 4 + 2 = 14. The answer 14 is the value at position 4. Some books write an, un or Tn; the idea is the same.
A term-to-term rule, such as “add 4”, tells you how to move to the next term and needs a starting value. A position-to-term rule, such as 4n + 3, jumps directly to a requested position. In this page, the first term always has position 1. Check the starting index when using a textbook that starts at 0.
Arithmetic sequences: add the same amount
If each new term is the previous term plus d, then getting from term 1 to term n takes n − 1 steps. Starting with a gives:
The coefficient of n is the common difference. The constant is not usually the first term: it adjusts the rule so that n = 1 produces a.
Decreasing sequences and membership
For 12, 9, 6, 3, 0, …, the difference is −3. The rule is 12 − 3(n − 1) = 15 − 3n; the eighth term is −9. A negative difference is valid, and a sequence can pass through zero.
To ask whether 79 belongs to 7, 11, 15, …, solve 4n + 3 = 79. This gives n = 19, a positive integer, so 79 is the 19th term. For 80, n = 77/4 = 19.25, so 80 is not a term of that arithmetic sequence. Revisit GCSE algebra practice for solving equations.
Geometric sequences: multiply by the same factor
With first term a and nonzero common ratio r, the terms are a, ar, ar², ar³, … . There have been n − 1 multiplications at position n:
tn = arn − 1
Worked example: 5, 15, 45, 135, 405, …
Each term is three times the one before it, so a = 5 and r = 3. The rule is tn = 5 × 3n − 1. At n = 10, this gives 5 × 3⁹ = 5 × 19,683 = 98,415. Using 3¹⁰ instead would move one position too far.
Ratios need not be positive integers. The sequence 3, −6, 12, −24, 48, … has r = −2 and rule 3 × (−2)n − 1. Brackets keep the negative base together. Meanwhile 32, 16, 8, 4, … has r = 1/2 and sixth term 1. For a nonzero starting value, |r| < 1 makes the magnitudes shrink; |r| > 1 makes them grow; a negative r alternates signs.
What about zero? The recurrence “multiply by 0” gives the first term a, then only zeros. The calculator writes this separately as t1 = a and tn = 0 for n ≥ 2. A list such as 1, 0, 1, 0 cannot follow one constant multiplier: once multiplication reaches zero, a later term cannot become nonzero. An all-zero list is reported as a constant rule; its terms do not determine a unique multiplier.
Quadratic sequences: take second differences
A quadratic rule has the form tn = An² + Bn + C, where A ≠ 0. For equally spaced consecutive positions, the second difference is 2A. First differences change, but the difference between those differences stays fixed.
The second difference determines the n² coefficient. The first two terms then determine the remaining coefficients. Open full-size diagram.
The remaining sequence 3, 4, 5, 6, 7 has rule n + 2.
Combine the parts: tn = 2n² + n + 2. At n = 10: 200 + 10 + 2 = 212.
A useful coefficient shortcut is A = (second difference)/2, B = (t2 − t1) − 3A, and C = t1 − A − B. Here B = 7 − 6 = 1 and C = 5 − 2 − 1 = 2. The factor 3 comes from t2 − t1 = (4A + 2B + C) − (A + B + C) = 3A + B.
Squares and triangular numbers
For 2, 5, 10, 17, 26, …, subtract n² and the remainder is always 1, giving n² + 1. The sixth term is 37. For 1, 3, 6, 10, 15, …, the second difference is 1, so A = 1/2. The full rule is n(n + 1)/2, giving the 10th triangular number 55. A quadratic coefficient can be a fraction even when every term is an integer.
A second difference of zero means the simpler rule is linear or constant, not genuinely quadratic. Three terms determine one polynomial of degree at most two, but provide only one second difference. This calculator requests at least four so it can compare second differences and test the fitted rule against more than three points.
Nth term or sum of terms?
A term is one value; a sum combines several. For 3, 7, 11, …, the tenth term is 39, while the sum of the first ten is 210. The arithmetic and geometric modes show both when you enter n.
Finite sums, with first term a and n ≥ 1
Pattern
Sum Sn
Arithmetic
n[2a + (n − 1)d]/2
Geometric, r ≠ 1
a(rn − 1)/(r − 1)
Geometric, r = 1
na
For 2, 6, 18, …, the seventh term is 2 × 3⁶ = 1,458, while S7 = 2(3⁷ − 1)/(3 − 1) = 2,186. These are finite sums; no infinite-series convergence claim is being made.
What the calculator can and cannot infer
It checks familiar families, not every possible formula. Cubes 1, 8, 27, 64, … have rule n³ and nonzero constant third differences. Fibonacci numbers 1, 1, 2, 3, 5, … use t1 = t2 = 1 and tn = tn − 1 + tn − 2 for n ≥ 3. Neither is among the three families tested automatically. Mixed rules such as 2n + 3ⁿ also need another approach.
A short list cannot establish a unique infinite rule. The four terms 2, 4, 6, 8 fit tn = 2n. They also fit 2n + (n − 1)(n − 2)(n − 3)(n − 4), because the added product is zero at positions 1 to 4. At n = 5, the first rule gives 10 and the second gives 34. In an exercise, use the stated sequence type or the pattern's construction to justify continuation.
Input values are taken exactly. Entering 1/3 preserves that fraction; 0.333 is exactly 333/1000. A list rounded from an underlying geometric pattern may fail the exact check. Do not “fix” a mismatch by hiding inconvenient terms. Check transcription, units and whether the entries really occupy consecutive positions.
Display limits are separate from mathematical limits. This tool limits positions to 1000 and input length to keep calculations responsive. It uses integer/fraction arithmetic internally. Long outputs are marked ≈ and shortened to 10 significant figures in scientific notation. See scientific notation examples to interpret those results.
Common mistakes worth catching
Using the first difference as the whole formula. “Add 4” is not the same as 4n. Adjust to match the first term.
Confusing term number and term value. In 4n + 3, n = 10 produces 43; do not substitute 43 unless you want the 43rd term.
Ignoring a negative sign. In 15 − 3n, calculate 3n before subtracting it from 15. Use the negative numbers guide if sign rules need practice.
Forgetting the factor of two. A second difference of 6 gives A = 3, not 6.
Using the same letter for two jobs. Here a is a first term; capital A is the coefficient of n².
Checking only the first term. Test every supplied term. One successful substitution cannot validate a rule.
Try it yourself: eight questions
For questions 1–6, assume the stated pattern continues. Write a rule before opening the answer.
1. Arithmetic: 8, 13, 18, 23, … . Find the rule and 20th term.
d = 5, so tn = 8 + 5(n − 1) = 5n + 3. The 20th term is 100 + 3 = 103.
r = −1/2. The sixth term is 16 × (−1/2)⁵ = −1/2. The fifth term is 1, which helps check the sign.
5. Quadratic: 3, 8, 15, 24, 35, … . Find the rule and 10th term.
First differences are 5, 7, 9, 11; second differences are 2. Subtract n² to get 2, 4, 6, 8, 10. Thus tn = n² + 2n, and t10 = 120.
6. Quadratic: 1, 4, 9, 16, … . Is 50 a term?
The rule is n². Since 7² = 49 and 8² = 64, no positive integer position gives 50. So 50 is not a term.
7. Does 0, 2, 6, 18 have a common ratio of 3?
No. Although 2 × 3 = 6 and 6 × 3 = 18, multiplying the first term 0 by 3 gives 0, not 2. Every transition must fit.
8. Does seeing 2, 4, 6, 8 prove the next term is 10?
No. Ten is the next value under the arithmetic rule 2n. Other rules can match those four terms and then differ. The sequence type or construction supplies the missing assumption.
For more written work, use the algebra worksheet library. Try the question first, use this calculator to compare your rule, and explain any disagreement rather than copying an output.
Frequently asked questions
Can the nth term be negative or fractional?
Yes. The position n is a positive integer in this tool, but the term value can be negative, zero or a fraction. For example, 7 − 3n is negative from n = 3 onward.
Can I enter terms from the middle of a sequence?
The sequence-input modes treat your first entry as t1 and assume consecutive positions. If you enter t5 through t8, the returned rule will be re-indexed. For a known arithmetic sequence with terms tj and tk, use d = (tk − tj)/(k − j) and a = tj − (j − 1)d, then enter a and d in Arithmetic mode.
Why does my constant sequence show as arithmetic?
A constant list has common difference 0. A nonzero constant list also fits the geometric rule with r = 1. The automatic mode reports the simpler constant/arithmetic description first.
Why use four terms for quadratic detection?
Three terms allow a degree-at-most-two fit, so fitting those three alone is a weak check. A fourth term gives another second difference to compare. Additional matching terms strengthen evidence for the pattern, but never prove an unlimited continuation.
Sources & References
Formula and method references; the worked explanations, questions, diagrams and calculator on this page are original.
OpenStax: Arithmetic Sequences — definitions and nth-term formulas.
OpenStax: Geometric Sequences — ratios, recurrence and explicit rules.
NIST Digital Library of Mathematical Functions: Interpolation — background on fitting finite sets of values.
Advertisement
Distinguish term number from the number of increases
A pattern contains five, eight, eleven and fourteen counters in its first four stages. Each new stage adds three. At stage one there have been no increases, so stage n contains five plus three times the quantity n minus one. Simplification gives three n plus two. Substituting one returns five and substituting four returns fourteen. A rule of three n plus five incorrectly counts one extra increase at every stage. To find the stage with sixty-two counters, subtract two and divide by three, obtaining stage twenty. Check that this is a positive whole number before interpreting it as a stage.
Identifying Arithmetic Sequences
A sequence of numbers is just that, a list of numbers in order. It can be a short list, such as the number of points earned on each assignment in a class, such as {10, 10, 8, 9, 10, 6, 10}. Or it can be a longer list, even infinitely long, such as the list of prime numbers. For example, here’s a sequence of numbers, specifically, the squares of the first 12 natural numbers.
{1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144}
Each value in the sequence is called a term. Terms in the list are often referred to by their location in the sequence, as in the th term. For the sequence {1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144}, the first term of the sequence is 1, the fourth term is 16, and so on. In the sequence of assignment scores {10, 10, 8, 9, 10, 6, 10}, the first term is 10 and the third term is 8 (diagram).
Sequence showing first, second, and fifth terms
The notation we use with sequences is a letter, which represents a term in the sequence, and a subscript, which indicates what place the term is in the sequence. For the sequence {1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144}, we will use the letter as a value in the sequence, and so would be the term in the sequence at the fifth position. That number is 25, so we can write .
In this section, we focus on a special kind of sequence, one referred to as an arithmetic sequence. Arithmetic sequences have terms that increase by a fixed number or decrease by a fixed number, called the constant difference (denoted by ), provided that value is not 0. This means the next term is always the previous term plus or minus a specified, constant value. Another way to say this is that the difference between any consecutive terms of the sequence is always the same value.
To see a constant difference, look at the following sequence: {7, 15, 23, 31, 39, 47, 55, 63, 71, 79, 87}. diagram illustrates that each term of the sequence is the previous term plus 8. Eight is the constant difference here.
Sequence of numbers with 8 added to each term
Identifying Arithmetic Sequences
Determine if the following sequences are arithmetic sequences. Explain your reasoning.
Solution
In the sequence , every term is the previous term plus 3. The ellipsis indicates that the pattern continues, which means keep adding 3 to the previous term to get the new term. Therefore, this is an infinite arithmetic sequence.
In the sequence , terms increase by various amounts, for instance from term 1 to term 2, the sequence increases by 20, but from term 2 to term 3 the sequence increases by 40. So, this is not an arithmetic sequence.
In the sequence , every term is the previous term minus 6, so this is an arithmetic sequence.
Arithmetic sequences can be expressed with a formula. When we know the first term of an arithmetic sequence, which we label , and we know the constant difference, which is denoted , we can find any other term of the arithmetic sequence. The formula for the term of an arithmetic sequence is .
Let’s examine the formula with this arithmetic sequence: . In this sequence and . The table below shows the values calculated.
, Place in Sequence
, Term
Value of Term
Term Written as
1
4
2
7
3
10
4
13
5
16
We can see how the term can be directly calculated. In this sequence, the formula is where the first term, , is 4 and the constant difference is 3. We can then determine the term of this sequence: .
Calculating a Term in an Arithmetic Sequence
Identify and for the following arithmetic sequence. Use this information to determine the term.
Solution
Inspecting the sequence shows that and . We use those values in the formula, with .
If we know two terms of the sequence, it is possible to determine the general form of an arithmetic sequence, .
Determining First Term and Constant Difference Using Two Terms
A sequence is known to be arithmetic. Two of its terms are and . Use that information to find the constant difference, the first term, and then the term of the sequence.
Solution
To find the constant difference, use . The location of the terms is given by the subscript of the two terms, and . So, the constant difference can be calculated as such:
.
The constant difference of 4 is then used to find .
.
So and .
With this information, the term can be found.
.
The term is .
Using Arithmetic Sequences to Solve Real-World Applications
Applications of arithmetic sequences occur any time some quantity increases by a fixed amount at each step. For instance, suppose someone practices chess each week and increases the amount of time they study each week. The first week the person practices for 3 hours, and vows to practice 30 more minutes each week. Since the amount of time practicing increases by a fixed number each week, this would qualify as an arithmetic sequence.
Applying an Arithmetic Sequence
Jordan has just watched The Queen’s Gambit and decided to hone their skills in chess. To really improve at the game, Jordan decides to practice for 3 hours the first week, and increase their time spent practicing by 30 minutes each week. How many hours will Jordan practice chess in week 20?
Solution
Jordan’s practice scheme is an arithmetic sequence, as it increases by a fixed amount each week. The first week there are 3 hours of practice. This means . Jordan increases the time spent practicing by 30 minutes, or half an hour, each week. This means . Using those values, and that we want to know the amount of time Jordan will study in week 20, we determine the time in week 20 using .
So, Jordan will practice 12.5 hours in week 20.
Finding the Sum of a Finite Arithmetic Sequence
Let’s check back in on Jordan. Recall, Jordan had just watched The Queen’s Gambit and decided to hone their skills, practicing for 3 hours the first week, and increasing the time spent practicing by 30 minutes each week. How many hours total will Jordan have practiced chess after 30 weeks of practice?
Solution
To calculate the total amount of time that Jordan practiced, we need to use . The formula requires the first and last terms of the sequence. Since Jordan practiced 3 hours in the first week, the first term is . Because we want the total practice time after 30 weeks, we need the term. Because the constant difference is , the term is .
Applying the formula provides the sum of the first 30 terms.
.
This means that Jordan practiced a total of 615 hours after 30 weeks.
Identifying Geometric Sequences
We know what a sequence is, but what makes a sequence a geometric sequence? In an arithmetic sequence, each term is the previous term plus the constant difference. So, you add a (possibly negative) number at each step. In a geometric sequence, though, each term is the previous term multiplied by the same specified value, called the common ratio. In the sequence the common ratio is 2. To see the difference between an arithmetic sequence and geometric sequence, examine these two sequences (Figures 3.52 and 3.53).
Arithmetic sequence
Each term in this arithmetic sequence is the previous term plus 5.
Geometric sequence
Each term in this geometric sequence is the previous term times 2.
In the sequence , the numbers get big fairly quickly, and stay positive. However, that’s not always the case with geometric sequences. Depending on the value of the common ratio, the terms could increase each time (like in the one shown in diagram), or the terms can get smaller each time, or the terms can alternate between positive and negative values. It all depends on the value of the common ratio, .
Consider this geometric sequence:
Each term is the previous term times 5, which means the common ratio is 5. This common ratio is larger than 1, and so the terms increase each time. Now, look at this geometric sequence:
Each term is the previous term times −3, and the sign of the terms alternate from positive to negative. Then, there’s this geometric sequence:
Each term is the previous term times , and the terms decrease each time. What we should take away from these three examples is if the common ratio is a positive number larger than 1, then the sequence increases. If the common ratio is a negative number, then the sign of the terms alternates between positive and negative. If the common ratio is between 0 and 1, then the terms decrease.
Two special cases of geometric sequences are when the constant ratio is 1 and when the common ratio is 0. When the constant ratio is 1, every term of the sequence is the same, as in . This is referred to as a constant sequence. When the constant ratio is 0, the first term can be any number, but every term after the first term is 0, as in .
Identifying Geometric Sequences
For each sequence, determine if the sequence is a geometric sequence. If so, identify the common ratio.
Solution
In the sequence , the jump from 5 to 20 is a multiplication by 4, as is the next jump to 80, and the next to 320. Each term is 4 times the previous term. Since each term is 4 times the previous, this is a geometric sequence. The common ratio is 4.
In the sequence , notice that 6 is −3 times −2. The jump from 6 to −12 is another multiplication by negative. So, if this is a geometric sequence, each term should be the previous term times −2. But the change from 24 to 11 is not a multiplication by −2, This means the sequence is not a geometric sequence.
In the sequence , the change from 4 to 2 is a multiplication by , as is the next jump, from 2 to 1, as is the next from 1 to . Each term is times the previous term. Since each term is times the previous, this is a geometric sequence. The common ratio is .
As with arithmetic sequences, the first term of a geometric sequence is labeled . The number that is multiplied by each term is called the common ratio and is denoted . So, if the first term is known, , and the common ratio is known, , then the term, , can be calculated with the formula .
Return to the sequence . We observe that the first term is 3, so . We also found that the common ratio is 2, so . The table below shows how any term can be calculated using just and .
, Place in Sequence
,Term
Value of Term
Term Written as
1
3
2
6
3
12
4
24
5
48
Determining the Value of a Specific Term in a Geometric Sequence
In the following geometric sequences, determine the indicated term of the geometric sequence with a given first term and common ratio.
Determine the term of the geometric sequence with and .
Determine the term of the geometric sequence with and .
Solution
Using with , , and , we calculate
.
The term of the geometric sequence with and is .
Using with , , and , we calculate
.
Using Geometric Sequences to Solve Real-World Applications
Geometric sequences have a multitude of applications, one of which is compound interest. Compound interest is something that happens to money deposited into an account, be it savings or an individual retirement account, or IRA. The interest on the account is calculated and added to the account at regular intervals. This means the interest that was earned later gains its own interest. This allows the money to grow faster. If that interest is added every month, we say it is compounded monthly. If the interest is added daily, then we say it is compounded daily. The amount of money that is deposited into the account is called the principal and is denoted . The account earns money on that principal. The amount it earns is a percentage of the money in the account. The interest rate, expressed as a decimal, is denoted .
Calculating Interest Compounded Yearly
Daryl deposits $1,000 in an account earning interest compounded yearly. How much money is in the account after 25 years?
Solution
Using with , , and , we find that . After 25 years, there is in the account.
Another application of geometric sequences is exponential growth. This arises in biology quite frequently, especially in relation to bacterial cultures, but also with other organism population models. In bacterial cultures, the time it takes the population to double is often recorded. This time to double is the same, regardless of how big the population gets. So, if the population doubles after 3 hours, it doubles again after another 3 hours, and again after another 3 hours, and so on. Put into geometric sequence language, it has a common ratio of 2.
Doubling a Bacterial Culture
When Escherichia coli (E. coli) is in a broth culture at 37°C, the population of E. coli doubles in number with 30 organisms, how many E. coli bacteria are present in the culture after 16 hours?
Solution
Since the population is doubling every 20 minutes, this is a geometric sequence situation with common ratio . The culture begins with 30 organisms, so . The time,16 hours, is 48 twenty-minute periods, so we’re looking for the 48th term in the sequence. Using these values in the geometric sequence formula gives
.
So, after 16 hours, the culture contains E. coli organisms. That’s more than 4,000 trillion bacteria.
Applying the Sum of a Finite Geometric Sequence
A player places one grain of rice on the first square of a chess board. On the second square, the player places 2 grains of rice. On the third square, the player places 4 grains of rice. On each successive square of the board, the player doubles the number of grains of rice placed on the chess board. When the player places the last rice on the 64th square, how many total grains of rice have been placed on the board?
Solution
Since the number of grains of rice is doubled at each step, this is a geometric sequence with first term and common ratio . Rice is placed on 64 total squares, so we want the sum of the first 64 terms. Using this information and the formula, the total number of grains of rice on the board will be: