We can define an as a of
n.
f(n)=a1+(n−1)d
This function generates the of any arithmetic sequence given a certain starting value
a1 and
d. The
n is the and will always be a . It represents the position of the term within the . Therefore, the arithmetic sequence will have the following terms.
f(1), f(2), f(3),…
From the given diagram we can identify a few elements in our arithmetic sequence.
f(1)f(4)f(12)=23⇒ a1=23=41⇒ a4=41=89⇒a12=89
We already know that the first term
a1 is
23.
f(n)=23+(n−1)d
Now, to find the value of
d, we will substitute the information for
4th term in the above equation. In other words, we will substitute
4 for
n and
41 for
f(n).
f(n)=23+(n−1)d
41=23+(4−1)d
d=6
The common difference is
6. Let's use this information to write the function.
f(n)=23+(n−1)6
Finally, let's distribute
6 in the above equation, and simplify the right-hand side.
f(n)=23+(n−1)6
f(n)=23+6n−6
f(n)=6n+17