Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.52* (Solutions of $(p-2)! -1 = p^k$)
Exercise 2.1.52* (Solutions of $(p-2)! -1 = p^k$)
Show that if is prime then , but that if then is not a power of .
Hint: Consider congruences modulo .
Answers
Proof. Using Wilson’s theorem,
So
Now consider the case , and assume for contradiction that for some integer .
Since , . Indeed,
Therefore we obtain , so
But , thus
Then (1) and (2) imply , so , and or . This is in contradiction with the hypothesis .
If then is not a power of . □