document.write( "Question 1104282: A sequence is defined recursively by the given formulas. Find the first five terms of the sequence.
\n" ); document.write( "an = 3a(n − 1) + 7 and a1 = 4\r
\n" ); document.write( "\n" ); document.write( "I thought it would be
\n" ); document.write( "a1=4
\n" ); document.write( "a2= 3(2-1)+7=10
\n" ); document.write( "a3= 3(3-1)+7=13
\n" ); document.write( "a4= 3(4-1)+7=16
\n" ); document.write( "a5= 3(5-1)+7=19
\n" ); document.write( "But those are wrong. What am I missing with this?
\n" ); document.write( "

Algebra.Com's Answer #719031 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "a(n) is the nth term while a(n-1) is the term just before the nth term.
\n" ); document.write( "For example, if n = 5, then a(n) = a(5) is the fifth term while a(n-1) = a(5-1) = a(4) is the fourth term
\n" ); document.write( "Think of a(n) as function notation like f(x). Saying a(n) does NOT mean multiply.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Because this is a recursive sequence, we use each term to build the next term.
\n" ); document.write( "If we wanted to know the 10th term, then we need to find the first term, then the second, then the third all the way up to the 9th.
\n" ); document.write( "We cannot simply find the 10th term by plugging in n = 10.
\n" ); document.write( "This is a lot of work which is why recursive sequences are often a pain.
\n" ); document.write( "Luckily we have a small number of terms to work with.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a(1) = 4 is the given first term. We use this to find the second term
\n" ); document.write( "a(n) = 3*a(n-1) + 7
\n" ); document.write( "a(2) = 3*a(2-1) + 7 ... replace every n with 2
\n" ); document.write( "a(2) = 3*a(1) + 7
\n" ); document.write( "a(2) = 3*a(1) + 7 ... notice we have a(1)
\n" ); document.write( "a(2) = 3*4 + 7 ... replace a(1) with 4
\n" ); document.write( "a(2) = 12+7
\n" ); document.write( "a(2) = 19
\n" ); document.write( "So the second term is 19\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We repeat the same idea for the third term. Use the second term to find the third
\n" ); document.write( "a(n) = 3*a(n-1) + 7
\n" ); document.write( "a(3) = 3*a(3-1) + 7 ... replace every n with 3
\n" ); document.write( "a(3) = 3*a(2) + 7 ... notice we have a(2)
\n" ); document.write( "a(3) = 3*19 + 7 ... replace that a(2) with 19
\n" ); document.write( "a(3) = 57 + 7
\n" ); document.write( "a(3) = 64
\n" ); document.write( "The third term is 64\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And again for the fourth
\n" ); document.write( "a(n) = 3*a(n-1) + 7
\n" ); document.write( "a(4) = 3*a(4-1) + 7 ... replace every n with 4
\n" ); document.write( "a(4) = 3*a(3) + 7
\n" ); document.write( "a(4) = 3*64 + 7 ... replace a(3) with 64
\n" ); document.write( "a(4) = 192 + 7
\n" ); document.write( "a(4) = 199
\n" ); document.write( "The fourth term is 199\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then finally the fifth
\n" ); document.write( "a(n) = 3*a(n-1) + 7
\n" ); document.write( "a(5) = 3*a(5-1) + 7 ... replace every n with 5
\n" ); document.write( "a(5) = 3*a(4) + 7
\n" ); document.write( "a(5) = 3*199 + 7 ... replace a(4) with 199
\n" ); document.write( "a(5) = 597 + 7
\n" ); document.write( "a(5) = 604
\n" ); document.write( "The fifth term is 604\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the first five terms are: 4, 19, 64, 199, and 604
\n" ); document.write( "
\n" ); document.write( "
\n" );