-1

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.

Bill Dubuque
  • 272,048

1 Answers1

-1

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$$

Nadav Kalma
  • 181
  • 5
  • Please strive not to post more (dupe) answers to dupes of FAQs, cf. recent site policy announcement here. Please delete the answer so that the dupe can be more easily cleaned up. – Bill Dubuque Oct 18 '23 at 19:15
  • @BillDubuque But how is this question a duplicate of that other question in the link? Not only it's not the same problem, the other question doesn't even deal with division by $17$. Not sure how reading the answers there will help OP solve this problem. (I hope OP already solved it anyway) – Mark Oct 18 '23 at 20:13