Write the first five terms of each of the sequence and obtain the corresponding series :
a1=3,an=3an−1+2 for all n > 1
Find the first four terms of the sequence defined by a1=3 and an=3an−1+2, for all n > 1.