A sequence can be generated by using an=3a(n-1) where a1=6 and n is a whole number greater than 1, what are the first four terms of the sequence

To find the first four terms of the sequence, we can use the given recursive formula.

The first term is given as a1 = 6.

Using the recursive formula an = 3a(n-1), we can find the next term:

a2 = 3a1 = 3 * 6 = 18.

Similarly, we can find the third and fourth terms:

a3 = 3a2 = 3 * 18 = 54.

a4 = 3a3 = 3 * 54 = 162.

Therefore, the first four terms of the sequence are:

6, 18, 54, 162.