find the remainder of
$$3^{20}$$
divided by 7. So we know what number its congruent mod 7 too.
I know
$$3^3 \equiv (-1) \mod 7$$
Thus
$$3^{18} \equiv 1 \mod 7$$
multiplying through by $3^2$ we get
$$3^{20} \equiv 3^2 \mod 7 \equiv 2 \mod 7$$
So the answer is $2$?