Exercise 2.2.16* (A result from Edouard Lucas)

Show that if r is a non negative integer then all coefficients of the polynomial ( 1 + x ) 2 r ( 1 + x 2 r ) are even. Write a positive integer n in binary, n = r 2 r . Show that all coefficients of the polynomial ( 1 + x ) n r ( 1 + x 2 r ) are even. Write k = r 𝒮 2 s in binary. Show that ( n k ) is odd if and only if 𝒮 . Conclude that if n is given, then ( n k ) is odd for precisely 2 w ( n ) values of k , where w ( n ) called the binary weight of n , is the number of 1 ’s in the binary expansion of n . In symbols, w ( n ) = card ( ) .

Note This is a special case of a result of E.Lucas, proved in 1891. See N.J.Fine, “Binomial coefficients modulo a prime”, Amer. Math. Monthly, 54 (1947), 589-592.

Answers

Proof.

a)
Write f ( x ) = ( 1 + x ) 2 r ( 1 + x 2 r ) [ x ] , and F ( x ) 𝔽 2 [ x ] the reduced polynomial with coefficients in the field 𝔽 2 = { 0 , 1 } .

We have proved by induction in Problem 14 that ( 1 + x ) p r = 1 + x p r is true in 𝔽 p [ x ] for any prime p , and any r 0 , so

( 1 + x ) 2 r = 1 + x 2 r 𝔽 2 [ x ] .

So F ( x ) = 0 . This is equivalent to the fact that all coefficients of f ( x ) = ( 1 + x ) 2 r ( 1 + x 2 r ) [ x ] are even.

b)
Write n = r 2 r in binary. Consider g ( x ) = ( 1 + x ) n r ( 1 + x 2 r ) , and G ( x ) = ( 1 + x ) n r ( 1 + x 2 r ) 𝔽 2 [ x ]

the corresponding reduced polynomial with coefficients in 𝔽 2 . Then, in 𝔽 2 [ x ]

( 1 + x ) n = ( 1 + x ) r 2 r = r ( 1 + x ) 2 r = r ( 1 + x 2 r ) .

Therefore G ( x ) = 0 , so all coefficients of the polynomial g ( x ) = ( 1 + x ) n r ( 1 + x 2 r ) are even.

c)
We expand both members of the equality ( 1 + x ) n = r ( 1 + x 2 r ) 𝔽 2 [ x ] .

First ( 1 + x ) n = ( n k ) x k . Next, the expansion of r ( 1 + x 2 r ) contains the products x r 1 x r 2 x r k , where { r 1 , r 2 , , r k } is any subset 𝒯 among the 2 | 𝒮 | subsets of 𝒮 .

r ( 1 + x 2 r ) = 𝒯 x r 𝒯 2 r = k = 0 n ( 𝒯 , r 𝒯 2 r = k 1 ) x k .

The comparison of the coefficient of x k in these two expansions gives

( n k ) 𝒯 , r 𝒯 2 r = k 1 ( mod 2 ) ,

where

𝒯 , r 𝒯 2 r = k 1 = Card { 𝒯 r 𝒯 2 r = k } .

Write k = s 𝒮 2 s . The uniqueness of the decomposition of an integer in binary shows that there is exactly one subset 𝒮 such that k = s 𝒮 2 s . Therefore

Card { 𝒯 r 𝒯 2 r = k } = { 1 if  𝒮 0 otherwise .

This shows that

( n k ) { 1 ( mod 2 ) if  𝒮 0 ( mod 2 ) otherwise .

In other words, ( n k ) is odd if and only if 𝒮 .

To give an example, for n = 11 = 1011 ¯ = r { 0 , 1 , 3 } 2 r ,

k 0 1 2 3 4 5 6 7 8 9 10 11 ( 11 k ) 1 11 55 165 330 462 462 330 165 55 11 1

( 11 k ) , is odd for the eight elements 0 = 0000 ¯ , 1 = 0001 ¯ , 2 = 0010 ¯ , 3 = 0011 ¯ , 8 = 1000 ¯ , 9 = 1001 ¯ , 10 = 1010 ¯ , 11 = 1011 ¯ .

d)
The integers k [ [ 0 , n ] ] such that ( n k ) is odd are the integers k whose unique binary expansion is k = s 𝒮 2 s , where 𝒮 . There are | 𝒫 ( ) | = 2 | | = 2 w ( n ) such subsets 𝒮 .

So ( n k ) is odd for precisely 2 w ( n ) values of k .

User profile picture
2024-08-10 09:56
Comments