A sequence of terms is defined by
$$u_n = 3^n - 2, \quad n \geq 1.$$
- Write down the first four terms of the sequence. [2]
The same sequence can also be defined by the recurrence relation
$$u_{n+1} = au_n + b, \quad n \geq 1, \quad u_1 = 1,$$
where \(a\) and \(b\) are constants.
- Find the values of \(a\) and \(b\). [4]