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