Let the number of odd coefficients of powers of x in the expansion of
n = 1 ∑ 5 0 0 ( x + 1 ) n
be M . Find 2 M
Thank you for supporting me, and helping me get 500 followers!
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.
I wasn't satisfied ( no offence, sir)
Amazing solution ! Thank you Sir ! :)
Log in to reply
Thanks, Keshav. I still wonder, though, if there is a way of computing this without having to use WolframAlpha.
Edit: After a bit of research, I find that we could potentially make the last mod 2 calculation using the Sierpinski Sieve , but for n = 501 this would amount to a lot of tedious work as well. I think this is one of those times when WolframAlpha is just the best way to go.
i became interested in this problem when i saw it on my feed last night.......i googled on this topic on internet and found that number of odd coefficients in nth raw of pascal's triangle is equal to two raised to the power of number of one's in binary notion of n.........can you prove it somehow.....@Brian sir
Log in to reply
That's a fascinating result, and since 501 in binary is 101011111., i.e., 7 ones, it gives us the 2 7 = 1 2 8 result as found using WolframAlpha.
I have no idea how to prove it, but it does seem to have something to do with the Sierpinski Sieve I mentioned above. This is a new concept for me, so I'm looking forward to doing some reading on the subject.
Great problem Madhav :)
As in Mr. Charlesworth's solution, we have that by the finite geometric series, our series is equivalent to:
x ( x + 1 ) 5 0 1 − x − 1 = ( ( 1 5 0 1 ) − 1 ) + ( 2 5 0 1 ) x + . . . + ( 5 0 1 5 0 1 ) x 5 0 0 .
Thus, we are looking for the number of odd coefficients of the form ( n 5 0 1 ) , where 2 ≤ n ≤ 501. The binary equivalent of 501 is 1 1 1 1 1 0 1 0 1 2 , and by Lucas' Theorem, we just need to ensure that n = x x x x x 0 x 0 x 2 in binary, where x can be 0 or 1, for ( n 5 0 1 ) to be odd. This gives us 2 7 = 128 possibilities; however, n = 0 and n = 1 in ( n 5 0 1 ) are not in our sum, so we have M = 128 - 2 = 126. Thus, 2M = 2 5 2 , as desired.
Problem Loading...
Note Loading...
Set Loading...
Note first that n = 0 ∑ 5 0 0 ( x + 1 ) 5 0 0 = ( x + 1 ) − 1 ( x + 1 ) 5 0 1 − 1 ,
and so n = 1 ∑ 5 0 0 ( x + 1 ) 5 0 0 = x ( x + 1 ) 5 0 1 − 1 − 1 = x ( x + 1 ) 5 0 1 − x − 1 .
The numerator will then be the same as the expansion of ( x + 1 ) 5 0 1 but with a constant coefficient of 0 and with the coefficient of x being 5 0 0 , (i.e., even), instead of 5 0 1 .
Thus when this is divided by x , the number of odd coefficients of powers of x will be the number of odd coefficients in the expansion of ( 1 + x ) 5 0 1 minus 2 , i.e., minus the odd constant and the odd coefficient of x .
Now the coefficients in the expansion of ( x + 1 ) 5 0 1 are of the form ( k 5 0 1 ) with k running from 0 to 5 0 1 . So the number of odd coefficients in this expansion will be
k = 0 ∑ 5 0 1 ( ( k 5 0 1 ) (mod 2 ) ) = 1 2 8 ,
and thus M = 1 2 8 − 2 = 1 2 6 , giving us the answer 2 M = 2 5 2 .
Comment: The rationale behind the mod calculation is that each odd coefficient returns a value of 1 when evaluated mod 2 . The actual value was found here using WolframAlpha. I realize that, to some, this may not be a satisfactory approach, but I could not find a pattern when looking at the sequence of binomial coefficients and thus resorted to a bit of WA trickery. If anyone has a better approach it would be most welcome. :)