For how many integral values of is the expression below odd?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
A corollary of Lucas' Theorem is that ( r n ) is odd if and only if each bit in the binary expansion of r is less than or equal to the corresponding bit in the binary expansion of n .
As the binary expansion of 7 1 is 1 0 0 0 1 1 1 , for ( r n ) to be odd the binary expansion of r can have either a 0 or 1 in the 2 6 , 2 2 , 2 1 , 2 0 bits but must have a 0 in the 2 5 , 2 4 , 2 3 bits. This results in 2 4 = 1 6 integral values of r for which ( r 7 1 ) is odd.
Comments: In general, if there are m 1 's in the binary expansion of n then 2 m of the binomial coefficients ( k n ) will be odd. If n = 2 q − 1 for some positive integer q then all n + 1 of the binomial coefficients will be odd.