Prove that if $7$ divides $6^n + 1$ then $n$ is odd
Attempt:
We'll prove the contrapositive: $n$ is not odd if $7$ does not divide $6^n + 1$
Prove that if $7$ divides $6^n + 1$ then $n$ is odd
Attempt:
We'll prove the contrapositive: $n$ is not odd if $7$ does not divide $6^n + 1$
If $x+1$ divides $x^n+1$ then $-1$ is a root of $x^n+1$. Therefore $(-1)^n+1=0$ which is only possible if $n$ is odd. Now put $x=6$.
As $6\equiv-1\pmod7$
$\implies 6^{2m+1}\equiv(-1)^{2m+1}\equiv-1$
and $6^{2m}\equiv(-1)^{2m}\equiv1$
More generally, $a-b\mid a^n-b^n$ for all $n\in\mathbb N$, $a,b\in\mathbb Z$. As a consequence, $a+b\mid a^n+b^n$ if $n$ is odd.