I would like to solve this problem using the idea of congruence module m, but I have no idea how to start. Could someone help me?
If $n> 0$ and $n$ is not a multiple of $3$, prove that $a = 3^{2n} + 3^n + 1$ is divisible by $13$.
I would like to solve this problem using the idea of congruence module m, but I have no idea how to start. Could someone help me?
If $n> 0$ and $n$ is not a multiple of $3$, prove that $a = 3^{2n} + 3^n + 1$ is divisible by $13$.
$3^3=27=2\times13+1\equiv1\bmod13$, so $3^{3n}\equiv 1 \bmod 13$,
so $3^{3n}-1=(3^n-1)(3^{2n}+3^n+1)\equiv 0\bmod13$,
which means $3^n-1\equiv0\bmod13$ or $3^{2n}+3^n+1\equiv0\bmod13$.
Can you take it from here?
Thank you for your help.
– Thais Nov 20 '20 at 18:22The simplest way to think in such a situation is to make a table of the data, working modulo $13$, i.e. in the ring $R=\Bbb Z/13$. The table is: $$ \begin{array}{|r|c|l|} \hline n & 3^n\in R & 3^{2n}+3^n+1\in R\\\hline 0 & 1 & 1+1+1 = 3\\ 1 & 3 & 9+3+1 = 13=0\\ 2 & 9 & 3+9+1 = 13=0\\\hline 3 & 1 & 1+1+1 = 3\\ 4 & 3 & 9+3+1 = 13=0\\ 5 & 9 & 3+9+1 = 13=0\\\hline \vdots & \vdots & \vdots \end{array} $$ and it repeats itself. The main point is to see that the powers of $3\in R$ repeat with period three, and then check these three cases.