Sequences & Series

Arithmetic Sequence Formula: Find Any Term Fast

The arithmetic sequence formula is an=a1+(n−1)da_n = a_1 + (n-1)d: start at the first term a1a_1, then add the common difference dd exactly n−1n-1 times to land on term number nn.

an=a1+(n−1)da_n = a_1 + (n-1)d

Try it with your numbers

Show every step

Nearly every lost point on these problems traces back to that n−1n-1. The sections below show why it is n−1n-1, how to rebuild the formula from any two terms, and how to handle negatives, fractions and “is this number in the sequence?” questions.

What does the arithmetic sequence formula tell you?

A sequence is arithmetic when each term is the previous term plus the same fixed number. That number is dd, the common difference, found by subtracting an earlier term from the next one. It can be negative, zero or a fraction. The letter nn is the position of the term (always a positive whole number), and ana_n is the value sitting in that position.

Take 5,9,13,17,…5, 9, 13, 17, \dots Here d=9−5=4d = 9 - 5 = 4, so

an=5+4(n−1)=4n+1.a_n = 5 + 4(n-1) = 4n + 1.

Test it: n=1n = 1 gives 55 and n=4n = 4 gives 1717, both correct.

The order of operations is where students slip. Subtract 11 from nn first, multiply by dd, and only then add a1a_1. A common error is adding a1+da_1 + d first and writing (5+4)(n−1)(5+4)(n-1), which gives 2727 for the 4th term instead of 1717. If that ordering still feels shaky, the order of operations practice problems will fix it quickly.

Where does the arithmetic sequence formula come from?

Four terms 5, 9, 13, 17 joined by three plus 4 steps showing n minus 1 steps
Four terms are separated by only three steps, so a₄ = 5 + 3 × 4 = 17.

The formula comes from one idea: counting steps, not terms. Term 1 is where you stand. Term 2 is one step away, term 3 is two steps away, and term nn is n−1n-1 steps away. Every step has size dd, so

an=a1+d+d+⋯+d⏟n−1 times=a1+(n−1)d.a_n = a_1 + \underbrace{d + d + \cdots + d}_{n-1 \text{ times}} = a_1 + (n-1)d.

It is the fence post rule: a fence with 1010 posts has only 99 gaps between them.

Start from any term

Nothing makes a1a_1 special. From any known term ama_m, the rule is an=am+(n−m)da_n = a_m + (n-m)d. The number of steps is always the difference of the positions.

This general version explains many problems at a glance. Going from the 5th term to the 12th term takes 12−5=712 - 5 = 7 steps, so the value changes by 7d7d, whatever the starting number is. The next two sections use exactly this.

Quick check

An arithmetic sequence has common difference 33. How much is added in total to get from the 6th term to the 20th term?

How do you find the nth term of an arithmetic sequence?

Use a short routine every time:

  1. Subtract two consecutive terms to get dd, then confirm with a second pair.
  2. Substitute a1a_1, dd and nn into the formula.
  3. Simplify to the form dn+(a1−d)dn + (a_1 - d).
  4. Test n=1n = 1 and one other term you can see.

Example 1. Find the 40th term of 7,12,17,22,…7, 12, 17, 22, \dots and write the general formula.

The differences are 12−7=512 - 7 = 5 and 17−12=517 - 12 = 5, so d=5d = 5 and a1=7a_1 = 7.

a40=7+(40−1)⋅5=7+195=202a_{40} = 7 + (40-1)\cdot 5 = 7 + 195 = 202

For the general rule:

an=7+5(n−1)=5n+2.a_n = 7 + 5(n-1) = 5n + 2.

Check: 5(40)+2=2025(40) + 2 = 202 and 5(1)+2=75(1) + 2 = 7.

The simplified form 5n+25n + 2 is worth noticing. It has the shape of slope-intercept form, with dd as the slope. That gives a fast mental check: if the difference is 55, the simplified formula must begin with 5n5n. The constant 22 is a1−d=7−5a_1 - d = 7 - 5, the value the sequence would have at position 00.

How do you find the formula from two terms that are not adjacent?

Suppose you know two terms far apart and nothing else. The gap in value divided by the number of steps between them gives dd.

Example 2. An arithmetic sequence has a4=11a_4 = 11 and a10=35a_{10} = 35. Find ana_n.

From term 4 to term 10 is 10−4=610 - 4 = 6 steps, and the value rises by 35−11=2435 - 11 = 24:

d=35−1110−4=246=4.d = \frac{35 - 11}{10 - 4} = \frac{24}{6} = 4.

Anchor at term 4 using the general version of the formula:

an=11+4(n−4)=4n−5.a_n = 11 + 4(n-4) = 4n - 5.

Check: a4=16−5=11a_4 = 16 - 5 = 11 and a10=40−5=35a_{10} = 40 - 5 = 35. The first term is a1=4−5=−1a_1 = 4 - 5 = -1, but you never had to compute it separately.

The trap here is dividing by the number of terms in the stretch (7) instead of the number of steps (6). This is the slope calculation between two points, and the anchored form an=am+d(n−m)a_n = a_m + d(n-m) is point-slope form with nn in the role of xx.

Try this: Given a6=20a_6 = 20 and a11=5a_{11} = 5, find dd, write an=a6+d(n−6)a_n = a_6 + d(n-6), and expand it. Then confirm that n=11n = 11 returns 55.

Arithmetic sequence formula with negatives and fractions

Nothing in the formula changes for negative or fractional values. What changes is how easy it is to drop a sign.

Example 3. Find a21a_{21} for 32,1,12,0,…\frac{3}{2}, 1, \frac{1}{2}, 0, \dots and write the general formula.

The difference is d=1−32=−12d = 1 - \frac{3}{2} = -\frac{1}{2}. Keep it in parentheses when substituting:

a21=32+20(−12)=32−10=−172.a_{21} = \frac{3}{2} + 20\left(-\frac{1}{2}\right) = \frac{3}{2} - 10 = -\frac{17}{2}.

For the general rule:

an=32−12(n−1)=32−n2+12=2−n2.a_n = \frac{3}{2} - \frac{1}{2}(n-1) = \frac{3}{2} - \frac{n}{2} + \frac{1}{2} = 2 - \frac{n}{2}.

Check: 2−212=−1722 - \frac{21}{2} = -\frac{17}{2}.

Distributing the minus sign is the usual error: −12(n−1)-\frac{1}{2}(n-1) becomes −n2+12-\frac{n}{2} + \frac{1}{2}, not −n2−12-\frac{n}{2} - \frac{1}{2}. A cleaner route for fractions is to multiply every term by the common denominator. Doubling gives 3,2,1,0,…3, 2, 1, 0, \dots with d=−1d = -1. Solve there, then halve the answer.

A negative first term works the same way: for −8,−3,2,…-8, -3, 2, \dots the difference is 55, so an=−8+5(n−1)=5n−13a_n = -8 + 5(n-1) = 5n - 13. A difference of 00 is legal too: 4,4,4,…4, 4, 4, \dots is arithmetic with an=4a_n = 4.

How do you find which term equals a given number?

Number line showing 100 falling between terms 97 and 102 of the sequence 7, 12, 17
In 7, 12, 17, … the number 100 falls between a₁₉ = 97 and a₂₀ = 102, so n = 19.6.

Set ana_n equal to the target and solve for nn. Solving the formula for nn directly gives

n=an−a1d+1.n = \frac{a_n - a_1}{d} + 1.

The answer only counts if it is a positive whole number. If you get a fraction, the target is not in the sequence.

Is 100100 a term of 7,12,17,…7, 12, 17, \dots? Solve 7+5(n−1)=1007 + 5(n-1) = 100. Then 5(n−1)=935(n-1) = 93, so n−1=18.6n - 1 = 18.6 and n=19.6n = 19.6. Not a whole number, so 100100 is not a term. A faster check: every term leaves remainder 22 when divided by 55, and 100100 leaves remainder 00.

To count terms, such as in 3,8,13,…,983, 8, 13, \dots, 98, use the same formula: n=98−35+1=19+1=20n = \frac{98 - 3}{5} + 1 = 19 + 1 = 20. The “+1” is the fence post rule again: both end posts count. Solving for nn here is a single linear step. In a geometric sequence nn sits in an exponent, and you need the logarithm rules to get it out.

Quick check

Is 5050 a term of the sequence 4,11,18,25,…4, 11, 18, 25, \dots?

Explicit or recursive: which arithmetic formula do you need?

The formula on this page is explicit: plug in a position, get a value. The recursive version describes how to get from one term to the next, and it needs a starting value.

Explicit Recursive
Rule an=a1+(n−1)da_n = a_1 + (n-1)d a1a_1 given, an=an−1+da_n = a_{n-1} + d
Finding a40a_{40} one calculation 39 additions
Natural use jumping to any term spreadsheets, loops, step-by-step processes
Dots, not a line

The rule an=dn+(a1−d)a_n = dn + (a_1 - d) is a linear function, but nn only takes whole-number values. Its graph is a row of separate dots on a line with slope dd.

Converting is easy because both forms hold the same two facts. From a1=7a_1 = 7 and an=an−1+5a_n = a_{n-1} + 5, read off a1=7a_1 = 7 and d=5d = 5, then write an=7+5(n−1)a_n = 7 + 5(n-1). Going the other way, the recursive rule is just dd added to the previous term. The page on recursive formulas covers cases where no explicit shortcut exists.

How can you tell a sequence is not arithmetic?

An arithmetic sequence needs every consecutive difference to match, not just the first two. The list 2,4,6,92, 4, 6, 9 starts like an arithmetic sequence and then breaks. Three quick tests settle it:

  • Differences: 1,4,9,161, 4, 9, 16 has differences 3,5,73, 5, 7. They are not equal, though the second differences are constant, which signals a quadratic pattern.
  • Ratios: 2,6,18,542, 6, 18, 54 has no constant difference but a constant ratio of 33, so it follows the geometric sequence formula.
  • Neighbor average: three consecutive terms satisfy 2b=a+c2b = a + c. For 4,10,164, 10, 16, 2⋅10=20=4+162 \cdot 10 = 20 = 4 + 16, so they fit.

The Fibonacci sequence fails the first two tests. Its differences 0,1,1,2,3,…0, 1, 1, 2, 3, \dots are the sequence itself, and its ratios keep changing. The neighbor-average test is also a way to solve for unknowns: if xx, 2x+12x+1 and 5x−45x-4 are consecutive terms, set 2(2x+1)=x+(5x−4)2(2x+1) = x + (5x-4) and solve.

Arithmetic sequence formula vs arithmetic series formula

A sequence is a list of terms. A series is their sum. The sequence formula returns one term, ana_n. The series formula returns the total of the first nn terms:

Sn=n2(a1+an).S_n = \frac{n}{2}(a_1 + a_n).

The idea is pairing. In 3+7+11+153 + 7 + 11 + 15, the outer pair gives 3+15=183 + 15 = 18 and the inner pair gives 7+11=187 + 11 = 18. Two pairs of 1818 make 3636. The formula agrees: 42(3+15)=36\frac{4}{2}(3 + 15) = 36. In words, the sum is the number of terms times the average of the first and last.

You usually need both formulas together. Use the sequence formula to find the last term ana_n, then the series formula for the sum. If the last term is unknown, substitute an=a1+(n−1)da_n = a_1 + (n-1)d to get Sn=n2[2a1+(n−1)d]S_n = \frac{n}{2}\left[2a_1 + (n-1)d\right]. The full treatment is on the arithmetic series formula page, and the compact way to write a sum like ∑k=1nak\sum_{k=1}^{n} a_k is explained under sigma notation.

Quick check

Find the sum of the first 10 terms of 4,7,10,13,…4, 7, 10, 13, \dots

Where is the arithmetic sequence formula used in real life?

Whenever something grows by a fixed amount per step, the formula applies. A theater has 1818 seats in row 11 and each row adds 22 seats. Row 2525 has 18+24⋅2=6618 + 24 \cdot 2 = 66 seats. A savings plan starts with a $40 deposit and raises it by $5 each week. The week-12 deposit is 40+11⋅5=40 + 11 \cdot 5 = 95$.

Simple interest is arithmetic as well. A $2,000 balance at 3%3\% simple interest gains $60 every year, so the balance at the end of year 1010 is 2060+9⋅60=26002060 + 9 \cdot 60 = 2600. Compound interest multiplies instead of adds, which moves it to geometric sequences. Flat fee plus per-unit pricing (taxi rides, phone plans) behaves the same way, with dd equal to the price per unit.

Build speed with the graded problems on this page, then try the extra sets on the arithmetic sequence practice problems page.

Practice problems

0 of 5 solved

  1. Find the 15th term of the sequence 3,8,13,18,…3, 8, 13, 18, \dots

  2. Write the formula for the nth term of 20,17,14,11,…20, 17, 14, 11, \dots

  3. How many terms are in the list 6,10,14,…,1426, 10, 14, \dots, 142?

  4. An arithmetic sequence has a3=4a_3 = 4 and a8=−21a_8 = -21. Find the formula for ana_n.

  5. The numbers xx, 2x+12x+1 and 5x−45x-4 are three consecutive terms of an arithmetic sequence. Find xx and the 10th term of the sequence.

Common questions

What is the formula for the nth term of an arithmetic sequence?

It is an=a1+(n−1)da_n = a_1 + (n-1)d, where a1a_1 is the first term, dd is the common difference and nn is the position of the term. It can also be written as an=dn+(a1−d)a_n = dn + (a_1 - d), which looks like a linear function.

Why is the formula (n - 1)d and not nd?

The first term needs zero steps from itself, so reaching term nn takes only n−1n - 1 steps. Each step adds dd. Using ndnd would overshoot by one full difference.

How do you find the common difference?

Subtract any term from the term right after it: d=ak+1−akd = a_{k+1} - a_k. Confirm with a second pair, because a sequence is only arithmetic if every pair gives the same value.

Can the common difference be negative, zero or a fraction?

Yes to all three. A negative dd gives a decreasing sequence, d=0d = 0 gives a constant sequence, and a fraction or decimal works exactly the same way in the formula.

What is the difference between the arithmetic sequence formula and the arithmetic series formula?

The sequence formula gives one term, ana_n. The series formula gives the sum of the first nn terms, Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n). You often need the first formula to get ana_n before using the second.

How do you find the number of terms in an arithmetic sequence?

Rearrange the formula to n=an−a1d+1n = \frac{a_n - a_1}{d} + 1. The result must be a positive whole number, otherwise the last value is not actually in the sequence.

Up next