Find the solution to each of these recurrence relations with the given initial conditions. Use an iterative approach.
(a) an = 3an-1, a0 = 2
(b) an = an-1 n, a0 = 1