This is an exercise in my abstract algebra reader, in the chapter about polynomial rings.
Let $n \in \Bbb N$. Let $p>2$ a prime number. And let $n$ not divisble by $p-1$. Show that
$$1^n+2^n+...+(p-1)^n \equiv 0 \pmod {p}$$
Our teacher assistant gave a hint to solve this with induction. We have tried to solve this using induction, but after some hours tring, I don't believe anyomre that this is possible. At least, I don't think I'm able to do that with my current knowlegde about mathematics. If someone has an idea how to solve this with induction (or maybe an other way), then I'm all ears.