# Find the first five terms of the sequence given by $a_1=3,\:a_n=3a_{n-1}+2\:\:\forall \:n\in N\:and\:n>1$

$\begin{array}{1 1}3,11,35,107,324 \\ 3,11,35,108,323 \\ 3,12,35,107,323 \\ 3,11,35,107,323 \end{array}$

Given: $a_1=3$ and $a_n=3a_{n-1}+2$
By putting $n=2,3...........$ we get the first 5 terms as
$a_2=3a_1+2=3\times 3+2=11$
$a_3=3a_2+2=3\times 11+2=35$
$a_4=3a_3+2=3\times 35+2=107$
$a_5=3a_4+2=3\times 107+2=323$
edited Jul 2, 2014