Determine the greatest common divisor of the elements of the set $S = \{ n^{13} - n \mid n \in \mathbb{Z} \}.$
I put in a few values of $n$ and I know that $10$ is a common factor, but I'm not sure if that's the greatest common factor.
Determine the greatest common divisor of the elements of the set $S = \{ n^{13} - n \mid n \in \mathbb{Z} \}.$
I put in a few values of $n$ and I know that $10$ is a common factor, but I'm not sure if that's the greatest common factor.
By Fermat's Little Theorem, we know that $13\mid n^{13}-n, 7\mid n^7-n, 5\mid n^5-n,3\mid n^3-n$ and $2\mid n^2-n$. I claim the product $2\cdot3\cdot5\cdot7\cdot13=2730$ is the largest common factor.
Note that $2^{13}-1=8190=3\cdot2730$ and $(3^{13}-3)-(2^{13}-1)=2730\cdot581$ where $\gcd(3,581)=1$ so $2730$ is the answer.