Exercise 2.1.44* (Binomial congruences 1)

Show that if p is prime then ( p 1 k ) ( 1 ) k ( mod p ) for 0 k p 1 .

Answers

Proof.

First proof. We use the result of Exercise 45:

( p k ) 0 ( mod p )  for  1 k p 1 .

(I promise not to use the result of exercise 44 to prove exercise 45!)

By Pascal’s formula, for all k [ [ 0 , p 2 ] ] ,

( p 1 k ) + ( p 1 k + 1 ) = ( p k + 1 ) 0 ( mod p ) ,

so

( p 1 k + 1 ) ( p 1 k ) ( mod p ) , k = 0 , 1 , 2 , , p 2 .

Since ( p 1 0 ) = 1 , this gives by induction

( p 1 k ) ( 1 ) k , k = 0 , 1 , 2 , , p 1 .

Second proof. The result of exercise 45 gives the equality in 𝔽 p [ X ] , where 𝔽 p is the field with p elements, and X a variable (indeterminate),

( X + 1 ) p = X p + 1 .

Therefore

( X + 1 ) p 1 = X p + 1 X + 1 = k = 0 p 1 ( 1 ) k X k

is true if p is an odd prime, and remains true if p = 2 : in 𝔽 2 , the equality 1 = 1 implies

X + 1 = X 2 1 X 1 = k = 0 2 1 X k = k = 0 p 1 ( 1 ) k X k .

By the binomial formula,

k = 0 p 1 ( p 1 k ) X k = k = 0 p 1 ( 1 ) k X k .

This gives the equality in 𝔽 p

[ ( p 1 k ) ] p = [ ( 1 ) k ] p ,

thus

( p 1 k ) ( 1 ) k ( mod p ) .

Third proof. (without Exercise 45.) By Wilson’s theorem,

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

We prove by induction the proposition

𝒫 ( k ) ( p 1 k ) ! k ! ( 1 ) k + 1 ( mod p ) .

For k = 0 , ( p 1 k ) ! k ! = ( p 1 ) ! 1 by Wilson’ s theorem, thus 𝒫 ( 0 ) is true.

Assume 𝒫 ( k ) for some k such that 0 k < p 1 . Then

( p k 2 ) ! ( k + 1 ) ! ( p k 1 ) ( p k 1 ) ! k ! ( k + 1 ) ( mod p ) ,

therefore

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

Since 1 k + 1 < p , k p = 1 , so k is invertible modulo p . Using the induction hypothesis,

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

This shows 𝒫 ( k + 1 ) , and the induction is done.

So, for all k such that 0 k p 1 ,

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

Then (1) gives

( p 1 k ) ( 1 ) k ( mod p ) .

User profile picture
2024-08-03 10:19
Comments