I have been asked to find $n$ satisfying
$n^{17} \equiv n\;\;$(mod $4080$)
I'm truly unsure how to even begin to attempt this. Is there a theorem or property of congruences that I should be identifying as useful for this problem?
I have been asked to find $n$ satisfying
$n^{17} \equiv n\;\;$(mod $4080$)
I'm truly unsure how to even begin to attempt this. Is there a theorem or property of congruences that I should be identifying as useful for this problem?
By Fermat's Little Theorem, for $p \nmid n$, $n^{p-1}\equiv 1\pmod p$ and so $n^{k(p-1)+1}\equiv n \pmod p$ holds for all $n$ (as it holds trivilally for multiples of $p$).
Note that $4080=2^4\cdot3\cdot5\cdot17$. By our initial observation, it follows that the congruence $n^{17}\equiv n$ holds modulo $p$ for $p=3,5 $ or $17$. Note that, modulo $16$, if $n$ is even the congruence holds iff $16|n$, and if not, then $n^8\equiv1\pmod {16}$ (By Fermat-Euler or just noticing that fourth powers of odd numbers are $1$ modulo $16$), whence $n^{17}\equiv n\pmod {16}$.
Finally, by chinese remainder theorem, it follows that $n^{17}\equiv n \pmod {16\cdot3\cdot5\cdot17}$ holds iff $n$ is odd or a multple of $16$.