If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Intro to arithmetic sequence formulas

Get comfortable with the basics of explicit and recursive formulas for arithmetic sequences.
Before taking this lesson, make sure you know the basics of arithmetic sequences and have some experience with evaluating functions and function domain.

What is a formula?

We are used to describing arithmetic sequences like this:
3,5,7,
But there are other ways. In this lesson, we'll be learning two new ways to represent arithmetic sequences: recursive formulas and explicit formulas. Formulas give us instructions on how to find any term of a sequence.
To remain general, formulas use n to represent any term number and a(n) to represent the nth term of the sequence. For example, here are the first few terms of the arithmetic sequence 3, 5, 7, ...
na(n)
(The term number)(The nth term)
13
25
37
We mentioned above that formulas give us instructions on how to find any term of a sequence. Now we can rephrase this as follows: formulas tell us how to find a(n) for any possible n.

Check your understanding

1) Find a(4) in the sequence 3, 5, 7, ...
a(4)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

2) For any term number n, what does a(n1) represent?
Choose 1 answer:

Recursive formulas of arithmetic sequences

Recursive formulas give us two pieces of information:
  1. The first term of a sequence
  2. The pattern rule to get any term in a sequence from the term that comes before it
Here is the recursive formula of our sequence 3, 5, 7, ... along with the interpretation for each part.
{a(1)=3The first term is three.a(n)=a(n1)+2Add two to the previous term.
In order to find the fifth term, for example, we need to extend the sequence term by term:
a(n)=a(n1)+2
a(1)=3
a(2)=a(1)+2=3+2=5
a(3)=a(2)+2=5+2=7
a(4)=a(3)+2=7+2=9
a(5)=a(4)+2=9+2=11
Cool! This formula gives us the same sequence as described by 3, 5, 7, ...

Check your understanding

Now it's your turn to find terms of sequences using their recursive formulas.
Just as we used a(n) to represent the nth term of the sequence 3, 5, 7, ..., we can use other letters to represent other sequences. For example, we can use b(n), c(n), or d(n).
3) Find b(4) in the sequence given by {b(1)=5b(n)=b(n1)+9
b(4)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

4) Find c(3) in the sequence given by {c(1)=20c(n)=c(n1)17
c(3)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

5) Find d(5) in the sequence given by {d(1)=2d(n)=d(n1)+0.4
d(5)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Explicit formulas of arithmetic sequences

Here is an explicit formula of 3, 5, 7, ...
a(n)=3+2(n1)
This formula allows us to simply plug in the number of the term we are interested in to get the value of that term.
In order to find the fifth term, for example, we need to plug n=5 into the explicit formula.
a(5)=3+2(51)=3+24=3+8=11
Lo and behold, we get the same result as before!

Check your understanding

6) Find b(10) in the sequence given by b(n)=5+9(n1).
b(10)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

7) Find c(8) in the sequence given by c(n)=2017(n1).
c(8)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

8) Find d(21) in the sequence given by d(n)=2+0.4(n1).
d(21)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Sequences are functions

Notice that the formulas we used in this lesson work like functions: We input a term number n, and the formula outputs the value of that term a(n).
Sequences are in fact defined as functions. However, n cannot be any real number value. There's no such thing as the negative fifth term or the 0.4th term of a sequence.
This means that the domain of sequences—which is the set of all possible inputs of the function—is the positive integers.

A note about notation

We've been writing a(4), for example, to represent the fourth term, but other sources sometimes write a4.
Both notations are fine to use. We prefer a(4) because it emphasizes that sequences are functions.

Reflection question

9) Which type of formula is more useful for quickly finding the 100th term of an arithmetic sequence?
Choose 1 answer:

Challenge problem

10) The explicit formula of an arithmetic sequence is f(n)=34(n1).
Which term of the sequence is equal to -65?
Term number
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi
.

Want to join the conversation?

  • duskpin ultimate style avatar for user hcomet2062
    If explicit formulas of the sequence are easier to find the 100th term of a sequence (based on the reflection question), why would we need recursive formulas? When are they useful?
    (26 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Mrs. Beck
    I have a question about your opinion on notation. So I am currently teaching this concept and after seeing this, I feel my students would have felt so much more comfortable using the notation you have as representing the arithmetic sequence as a function. The book we use uses asubn notation. Do you think there is a reason to use one notation over the other?
    (18 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user farchettiensis
    I feel like a robot using the explicit formula. Why on earth does it work? It seems phony, since we are always given the formulas that define the sequence in each exercise. How does one arrive to such formula?
    (9 votes)
    Default Khan Academy avatar avatar for user
  • starky seedling style avatar for user Tiya Sharma
    what is difference between explicit formula and recursiue formula because both equation looks similar jus we changed the side of our common difference d.
    i mean a(n)=a+(n-1)D or a(n)=a+D(n-1)
    we just changed the side of D .
    SO are they similar?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • primosaur seed style avatar for user Ian Pulizzotto
      Actually the explicit formula for an arithmetic sequence is a(n)=a+(n-1)*D, and the recursive formula is a(n) = a(n-1) + D (instead of a(n)=a+D(n-1)).

      The difference is than an explicit formula gives the nth term of the sequence as a function of n alone, whereas a recursive formula gives the nth term of a sequence as a function of the previous term(s) of the sequence (and sometimes of n as well). In other words, an explicit formula tells how to calculate directly the nth term of a sequence, whereas a recursive formula tells how to get from one or more terms of the sequence to the next term.

      Have a blessed, wonderful day!
      (20 votes)
  • boggle yellow style avatar for user Eva
    why do we have recursive formulas? I feel like explicit formulas is better and easier
    (9 votes)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user Tanner P
      First of all, it is useful in math to have multiply ways to think of/represent a concept.

      But there is also a good reason why we use recursive sequences. This is because some sequences are very difficult or impossible to represent explicitly but can be represented recursively.

      Take the Fibonacci sequence for example. You get each term by combining the two terms before it. The first few terms are 0, 1, 1, 2, 3, 5, 8, 13, 21,…. This can be expressed recursively as a(n)=a(n-2)+a(n-1), for a(0)=0 and a(1)=1. Not that bad. Now I encourage you to look up the explicit formula for the Fibonacci sequence. Which one do you think is simpler?
      (11 votes)
  • aqualine sapling style avatar for user Frenchy Starfire (I'm offiline so don't try anything funny XD)
    In problem seven it gives the problem Find c(8) in the sequence given by c(n)= 20-17(n-1) okay so how would i solve that problem i thought that you multiplied 17 by 17 and then subtracted it by 20 but when you click on the help button it says
    c(8)=20-17 (8-1)
    =20-17*7
    =20-119
    = -99
    So my question is how they got the 17*7 and not 17*17
    (10 votes)
    Default Khan Academy avatar avatar for user
  • duskpin sapling style avatar for user alexa.pomerantz
    How are recursive formulas still functions? The second part of the recursive formula seems to me like using a word in that word's definition (because the letter used to show the function is used in the definition of the function, if that makes sense...?).
    (4 votes)
    Default Khan Academy avatar avatar for user
    • hopper jumping style avatar for user Michael Laman
      A function specifies a relationship between two variables. While a recursive formula does use itself to sequence back to its initial value, the result is still specifying the relationship between two variables.

      Also notice that one can change arithmetic sequences to recursive formulas and vice versa. Both are functions.

      Recursion itself, whether in math or in other places such as computer programming, can be a very different way of looking at a problem. Recursion is not limited to mathematics, but that's a whole different topic all together.
      (7 votes)
  • blobby green style avatar for user John Paul Dominic Baylosis
    Is a(n) more confusing than "a" sub "n"?
    It makes me think "a multiplied to n" sometimes.
    (5 votes)
    Default Khan Academy avatar avatar for user
    • leaf grey style avatar for user Alex
      a_n (which is a sub n) typically means the nth term of a sequence. It can also be found in the definition of the sequence.

      a(n) (a of n) is definitely less used; if one wanted to define the sequence as a function, one would use f(n) or even f(x).
      (4 votes)
  • duskpin sapling style avatar for user sierra
    I still don't understand what you mean. I tried clicking 'I need help' but that didn't explain it well enough for me to understand
    (3 votes)
    Default Khan Academy avatar avatar for user
  • aqualine seed style avatar for user sadaf seemeen
    The sum of the first 7 terms of an A.P. is 63 and the sum of its next 7 terms is 161. Find the 28th term of this A.P.
    (3 votes)
    Default Khan Academy avatar avatar for user
    • mr pink green style avatar for user David Severin
      assume that the common difference is y and the first term is x, so
      x + x + y + x + 2y + x + 3y + x + 4y + x + 5y + x + 6y = 63 which means 7x + 21y = 63
      x + 7y + x + 8y + x + 9y + x + 10y + x + 11y + x + 12y + x + 13y = 161 so 7x + 70y = 161, subtract the first equation from the second and get 49y = 98, so y =2 and substitute this into either equation,
      7x + 21(2) = 63, 7x = 21, x = 3. x is the first term, and two is the common difference, so f(n) = 2(n-1) + 3. f(28)= 2(27) + 3 = 57.
      (7 votes)