Exercise 2.1.52* (Solutions of $(p-2)! -1 = p^k$)

Show that if p is prime then p ( ( p 2 ) ! 1 ) , but that if p > 5 then ( p 2 ) ! 1 is not a power of p .

Hint: Consider congruences modulo p 1 .

Answers

Proof. Using Wilson’s theorem,

( p 2 ) ! ( p 2 ) ! ( p 1 ) ( p 1 ) ! 1 ( mod p ) .

So p ( p 2 ) ! 1 .

Now consider the case p > 5 , and assume for contradiction that ( p 2 ) ! 1 = p k for some integer k 0 .

Since p > 5 , 2 < p 1 2 p 2 . Indeed,

2 < p 1 2 5 < p p 1 2 p 2 p 1 2 p 4 3 p .

Therefore we obtain p 1 = 2 p 1 2 ( p 2 ) ! , so

( p 2 ) ! 0 ( mod p 1 ) . (1)

But p 1 ( mod p 1 ) , thus

( p 2 ) ! = p k + 1 2 ( mod p 1 ) . (2)

Then (1) and (2) imply 2 0 ( mod p 1 ) , so p 1 2 , and p = 2 or p = 3 . This is in contradiction with the hypothesis p > 5 .

If p > 5 then ( p 2 ) ! 1 is not a power of p . □

User profile picture
2024-08-05 09:35
Comments