Find the number of odd coefficients in the expansion of ( a + b ) 2 0 1 5 .
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.
Nice question , very helpful , thanks.
Oh nicely done! Upvoted! Mine was much longer!
I did not know Lucas's theorem but tried the binary expression of 2015. Sadly, I didn't know how to use the expression so i still got it wrong :(.
Had no idea about Lucas theorm any other method if possible??
If writing out the Pascal's triangle, one can see that the number of odd binomial coefficients in row x = 2 k where k is the number of 1's in the binary form of the x. In this case, x = 2015, as the 2015th row of the Pascal triangle corresponds to the coefficients of the expansion of ( a + b ) 2 0 1 5 . 2015 = 11111011111, There are 10 1's in this number, so the number of odd coefficients is 2 1 0 = 1024.
Let's do it for a general case. That is, finding number of coefficients in the expansion of ( a + b ) n which are not divisible by p . Here p is a prime number. Theorem : If n = i = 0 ∑ k a i p i or in other words, n = a k a k − 1 . . . a 2 a 1 a 0 in base p . The number of coefficients not divisible by p are i = 0 ∏ k ( a i + 1 ) . Proof : For simplicity, let us assume that a = 1 and b = x . Thus we have ( 1 + x ) n = ( 1 + x ) ∑ i = 0 k a i p i = i = 0 ∏ k [ ( 1 + x ) p i ] a i . If we divide the expression by p , all the terms having coefficients divisible by p will vanish. And we will be left with the coefficients that are not divisible by p , which is desired. Now we will use the fact that ( 1 + x ) p i ≡ ( 1 + x p i ) (mod p ) . So, ( 1 + x ) n ≡ i = 0 ∏ k ( 1 + x p i ) a i Number of terms in the expansion of ∏ i = 0 k ( 1 + x p i ) a i is ( a i + 1 ) . Total number of terms will be i = 0 ∏ k ( a i + 1 ) . Q.E.D. For the given question, 2 0 1 5 = 1 1 1 1 1 0 1 1 1 1 1 2 , add 1 to all the digits, and multiply them. 2 2 2 2 2 1 2 2 2 2 2 thus number of odd terms will be 2 1 0 = 1 0 2 4 .
improve more
Problem Loading...
Note Loading...
Set Loading...
We will make use of a consequence of Lucas' Theorem , whereby a binomial coefficient ( n m ) is odd if and only if none of the digits in the binary expansion of n is greater than the corresponding digit in the binary expansion of m .
In this case we have m = 2 0 1 5 , which has a binary expansion of 1 1 1 1 1 0 1 1 1 1 1 . So all those binomial coefficients ( n 2 0 1 5 ) in the expansion of ( a + b ) 2 0 1 5 for which n does not have a 1 in the 6 th from the right digit in their binary expansion will be odd. Since all numbers from 2 0 1 6 to 2 0 4 7 do have a 1 in this position, we can then conclude that the number of values n from 0 to 2 0 1 5 inclusive that do not have a 1 in this position will be 2 2 0 4 8 = 1 0 2 4 .