Answer
$a_n=2\times2^{n-1}=2^n$
Work Step by Step
The general term in a geometric sequence is:
$a_n=a_1\times r^{n-1}$
Here, $a_1=2$
We can find the common ratio by dividing two subsequent terms:
$r=\frac{a_2}{a_1}=\frac{4}{2}=2$
The general term is:
$a_n=2\times2^{n-1}=2^n$