prove that
$18^n-n^{16}$ is divisible by $17$ for any natural $n$.
I have tried using Fermat's small theorem so far and got nowhere as I get contradiction for the case $n=17$ either way and for any case $n\neq16k$ I have no clue what to do with it.
prove that
$18^n-n^{16}$ is divisible by $17$ for any natural $n$.
I have tried using Fermat's small theorem so far and got nowhere as I get contradiction for the case $n=17$ either way and for any case $n\neq16k$ I have no clue what to do with it.
As someone mentioned, this is true when n is not divisible by 17! So in that case, we need to look at this whole equation mod 17, and we will prove it is equal to 0. First, $$18^n - n^{16} \mod{17} = (18 \mod{17})^n - (n \mod{17})^{16} \\= 1^n-n^{16} \mod17 = 1 - n^{16} \mod17 $$ so no we just need to show that for any $n$ which is not divisible by 17 ( $n \neq 0) \mod17)$), the following equality holds: $$ n^{16} = 1 \mod17$$ And because 17 is prime, such $n$ is invertible, and we can use the Fermat little theorem which says that $n^17 = n \mod17$ and get that $$n^{16} = n^{17} * n_{-1} = n * n^{-1} = 1 \mod17$$
a^{bc}renders $a^{bc}$. – FShrike Oct 18 '23 at 18:40