Given the sequence an=2, 6, 18, 54, 162....  What is the common ratio?

The common ratio between each term in the sequence is 3. Each term is obtained by multiplying the previous term by 3.