Prove that ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv -1 ##.

  • Thread starter Thread starter Math100
  • Start date Start date
Click For Summary
SUMMARY

The proof demonstrates that for any odd prime number ## p \geq 3 ##, the expression ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1} \equiv -1 \pmod {p} ## holds true. Utilizing Fermat's theorem, it is established that each term in the sum, when raised to the power of ## p-1 ##, is congruent to 1 modulo ## p ##. Consequently, the total sum of these terms, which consists of ## p-1 ## elements, simplifies to ## (p-1) \equiv -1 \pmod {p} ##, confirming the initial assertion.

PREREQUISITES
  • Understanding of Fermat's Little Theorem
  • Knowledge of modular arithmetic
  • Familiarity with prime numbers and their properties
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study Fermat's Little Theorem in-depth
  • Explore advanced topics in modular arithmetic
  • Investigate applications of prime numbers in number theory
  • Learn about other congruences and their proofs
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in proofs involving prime numbers and modular arithmetic.

Math100
Messages
817
Reaction score
230
Homework Statement
Employ Fermat's theorem to prove that, if ## p ## is an odd prime, then
## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv -1\pmod {p} ##.
Relevant Equations
None.
Proof:

Suppose ## p ## is an odd prime such that ## p\geq 3 ##.
Note that ## p\nmid a ##.
By Fermat's theorem, we have that ## a^{p-1}\equiv 1\pmod {p} ##.
Observe that there are ## p-1 ## terms in ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1} ##.
This means
\begin{align*}
1^{p-1}&\equiv 1\pmod {p}\\
2^{p-1}&\equiv 1\pmod {p}\\
3^{p-1}&\equiv 1\pmod {p}\\
&\vdots \\
(p-1)^{p-1}&\equiv 1\pmod {p}.\\
\end{align*}
Thus ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv (p-1)\equiv -1\pmod {p} ##.
Therefore, if ## p ## is an odd prime, then ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv -1\pmod {p} ##.
 
  • Like
Likes   Reactions: fresh_42
Physics news on Phys.org
Math100 said:
Homework Statement:: Employ Fermat's theorem to prove that, if ## p ## is an odd prime, then
## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv -1\pmod {p} ##.
Relevant Equations:: None.

Proof:

Suppose ## p ## is an odd prime such that ## p\geq 3 ##.
Note that ## p\nmid a ##.
... for all ##a\in\{1,2,3,\ldots,p-1\}.##
Math100 said:
By Fermat's theorem, we have that ## a^{p-1}\equiv 1\pmod {p} ##.
Observe that there are ## p-1 ## terms in ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1} ##.
This means
\begin{align*}
1^{p-1}&\equiv 1\pmod {p}\\
2^{p-1}&\equiv 1\pmod {p}\\
3^{p-1}&\equiv 1\pmod {p}\\
&\vdots \\
(p-1)^{p-1}&\equiv 1\pmod {p}.\\
\end{align*}
Thus ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv (p-1)\equiv -1\pmod {p} ##.
Therefore, if ## p ## is an odd prime, then ## 1^{p-1}+2^{p-1}+3^{p-1}+\dotsb +(p-1)^{p-1}\equiv -1\pmod {p} ##.
 
  • Like
Likes   Reactions: Math100

Similar threads

Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
4
Views
3K