Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.51 ( $(p-1)! \equiv p-1 \pmod{ 1 + 2 +\cdots + (p-1)}$ if $p$ is a prime)
Exercise 2.1.51 ( $(p-1)! \equiv p-1 \pmod{ 1 + 2 +\cdots + (p-1)}$ if $p$ is a prime)
Prove that if is a prime.
Answers
Proof. If , then , a fortiori is congruent to modulo any integer.
Suppose now that is an odd prime. Then
Since (because ), it suffices to show that
- (1)
- By Wilson’s theorem,
- (2)
- Since ,
So and , where . Therefore .
For any prime ,