5. Find the first 4 terms of the recursive sequence a_1 = 2, a_n = 3a_n−1
a1 = 2, an = 3an−1
So we have
2, 3(2), (3)(3)(2), (3)(3)(3)(2) =
2, 6, 18, 36