In a given sequence of numbers, each term after the first is obtained by multiplying the previous term by a constant value. If the first term is 3 and the common ratio is 2, what is the 6th term of the sequence?
The sequence can be defined by the formula:
$$a_n = a_1 imes r^{(n-1)}$$
where: