Find $\gcd(3^{20} + 3, 3^{21} +6)$
I am honestly so confused, I know $3$ divides both terms but am unsure if that's the $\gcd$.
Find $\gcd(3^{20} + 3, 3^{21} +6)$
I am honestly so confused, I know $3$ divides both terms but am unsure if that's the $\gcd$.
Hint: if $d$ divides $a$ and $b$, it also divides $pa+qb$, for every $p$ and $q$; thus the gcd will divide $$ 3(3^{20}+3)+(-1)(3^{21}+6) $$ Why $p=3$ and $q=-1$? Because doing so will remove the powers of $3$.