Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.2.16* (A result from Edouard Lucas)
Exercise 2.2.16* (A result from Edouard Lucas)
Show that if is a non negative integer then all coefficients of the polynomial are even. Write a positive integer in binary, . Show that all coefficients of the polynomial are even. Write in binary. Show that is odd if and only if . Conclude that if is given, then is odd for precisely values of , where called the binary weight of , is the number of ’s in the binary expansion of . In symbols, .
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
, and
the reduced polynomial with coefficients in the field
.
We have proved by induction in Problem 14 that is true in for any prime , and any , so
So . This is equivalent to the fact that all coefficients of are even.
- b)
-
Write
in binary. Consider
, and
the corresponding reduced polynomial with coefficients in . Then, in
Therefore , so all coefficients of the polynomial are even.
- c)
-
We expand both members of the equality
First . Next, the expansion of contains the products , where is any subset among the subsets of .
The comparison of the coefficient of in these two expansions gives
where
Write . The uniqueness of the decomposition of an integer in binary shows that there is exactly one subset such that . Therefore
This shows that
In other words, is odd if and only if .
To give an example, for ,
, is odd for the eight elements .
- d)
-
The integers
such that
is odd are the integers
whose unique binary expansion is
, where
. There are
such subsets
.
So is odd for precisely values of .