500 Follower Problem

Algebra Level 5

Let the number of odd coefficients of powers of x x in the expansion of

n = 1 500 ( x + 1 ) n \displaystyle \sum^{500}_{n=1}(x+1)^n

be M M . Find 2 M 2M

Thank you for supporting me, and helping me get 500 followers!


The answer is 252.

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.

2 solutions

Note first that n = 0 500 ( x + 1 ) 500 = ( x + 1 ) 501 1 ( x + 1 ) 1 \displaystyle\sum_{n=0}^{500} (x + 1)^{500} = \dfrac{(x + 1)^{501} - 1}{(x + 1) - 1} ,

and so n = 1 500 ( x + 1 ) 500 = ( x + 1 ) 501 1 x 1 = ( x + 1 ) 501 x 1 x \displaystyle\sum_{n=1}^{500} (x + 1)^{500} = \dfrac{(x + 1)^{501} - 1}{x} - 1 = \dfrac{(x + 1)^{501} - x - 1}{x} .

The numerator will then be the same as the expansion of ( x + 1 ) 501 (x + 1)^{501} but with a constant coefficient of 0 0 and with the coefficient of x x being 500 500 , (i.e., even), instead of 501 501 .

Thus when this is divided by x x , the number of odd coefficients of powers of x x will be the number of odd coefficients in the expansion of ( 1 + x ) 501 (1 + x)^{501} minus 2 2 , i.e., minus the odd constant and the odd coefficient of x x .

Now the coefficients in the expansion of ( x + 1 ) 501 (x + 1)^{501} are of the form ( 501 k ) \binom{501}{k} with k k running from 0 0 to 501 501 . So the number of odd coefficients in this expansion will be

k = 0 501 ( ( 501 k ) \displaystyle\sum_{k=0}^{501} (\dbinom{501}{k} (mod 2 ) ) = 128 2)) = 128 ,

and thus M = 128 2 = 126 M = 128 - 2 = 126 , giving us the answer 2 M = 252 2M = \boxed{252} .

Comment: The rationale behind the mod calculation is that each odd coefficient returns a value of 1 1 when evaluated mod 2 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. :)

I wasn't satisfied ( no offence, sir)

Mayank Singh - 6 years, 2 months ago

Amazing solution ! Thank you Sir ! :)

Keshav Tiwari - 6 years, 6 months ago

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.

Brian Charlesworth - 6 years, 6 months ago

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

Aman Sharma - 6 years, 6 months ago

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 = 128 2^{7} = 128 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.

Brian Charlesworth - 6 years, 6 months ago
Alec Zhang
Dec 19, 2016

Great problem Madhav :)

As in Mr. Charlesworth's solution, we have that by the finite geometric series, our series is equivalent to:

( x + 1 ) 501 x 1 x = ( ( 501 1 ) 1 ) + ( 501 2 ) x + . . . + ( 501 501 ) x 500 . \frac{(x+1)^{501} - x - 1}{x} = (\binom{501}{1} - 1 ) + \binom{501}{2}x + ... + \binom{501}{501}x^{500}.

Thus, we are looking for the number of odd coefficients of the form ( 501 n ) \binom{501}{n} , where 2 \le n \le 501. The binary equivalent of 501 is 11111010 1 2 111110101_2 , and by Lucas' Theorem, we just need to ensure that n = x x x x x 0 x 0 x 2 n = xxxxx0x0x_2 in binary, where x can be 0 or 1, for ( 501 n ) \binom{501}{n} to be odd. This gives us 2 7 2^7 = 128 possibilities; however, n = 0 and n = 1 in ( 501 n ) \binom{501}{n} are not in our sum, so we have M = 128 - 2 = 126. Thus, 2M = 252 \boxed{252} , as desired.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...