3

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.

90intuition
  • 2,622

2 Answers2

1

Hint: Let $g$ be a primitive root of $p$ (a generator of the multiplicative group).

Then our sum $S$ is congruent to $\sum_{k=0}^{p-2} (g^n)^k$. The formula for the sum of a geometric progression gives $$S(g^n-1)\equiv (g^n)^{p-1}-1\pmod{p}$$

André Nicolas
  • 507,029
0

Hints:

If $\;n=p^k\;,\;\;k\in\Bbb N\;$ , then $\;a^n=a\pmod p\;,\;\;\;\forall\,a\in \{0,1,2,...,p-1\}\pmod p$

If $\;(n,p)=1\;$ , then the map $\;\Bbb Z_p\to \Bbb Z_p\;,\;\;a\to a^n\;$ , is onto

DonAntonio
  • 211,718
  • 17
  • 136
  • 287