Powers of 2 and the binomial expansion

1 2 ( 2017 1 ) + 2 2 ( 2017 2 ) + 3 2 ( 2017 3 ) + + 201 7 2 ( 2017 2017 ) 1^2 \binom{2017}{1} + 2^2 \binom{2017}{2} + 3^2 \binom{2017}{3} + \cdots + 2017^2 \binom{2017}{2017}

Find the maximum value of integer n n such that 2 n 2^n divides the expression above.


The answer is 2016.

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

Kushal Bose
Jan 25, 2017

( 1 + e x ) n = 1 + ( n 1 ) e x + ( n 2 ) e 2 x + ( n 3 ) e 3 x + + ( n n ) e n x (1+e^x)^n=1 +\binom{n}{1} e^x +\binom{n}{2} e^{2x} +\binom{n}{3} e^{3x} +\cdots + \binom{n}{n} e^{nx}

Differentiate w.r.t x x

n ( 1 + e x ) n 1 e x = ( n 1 ) e x + 2 ( n 2 ) e 2 x + 3 ( n 3 ) e 3 x + + n ( n n ) e n x n (1+e^x)^{n-1} e^x=\binom{n}{1} e^x +2 \binom{n}{2} e^{2x} +3 \binom{n}{3} e^{3x} +\cdots +n \binom{n}{n} e^{nx}

Again differentiate w.r.t x x

n ( 1 + e x ) n 1 e x + n ( n 1 ) ( 1 + e x ) n 2 e 2 x = ( n 1 ) e x + 2 2 ( n 2 ) e 2 x + 3 2 ( n 3 ) e 3 x + + n 2 ( n n ) e n x n (1+e^x)^{n-1} e^x +n(n-1) (1+e^x)^{n-2} e^{2x}=\binom{n}{1} e^x +2^2 \binom{n}{2} e^{2x} +3^2 \binom{n}{3} e^{3x} +\cdots +n^2 \binom{n}{n} e^{nx}

As the above is an identity now put x = 0 x=0 then it becomes

n . 2 n 1 + n ( n 1 ) . 2 n 2 = ( n 1 ) + 2 2 ( n 2 ) + 3 2 ( n 3 ) + + n 2 ( n n ) n.2^{n-1} +n(n-1).2^{n-2}=\binom{n}{1} +2^2 \binom{n}{2} +3^2 \binom{n}{3}+\cdots +n^2 \binom{n}{n}

So our series becomes

1 2 ( n 1 ) + 2 2 ( n 2 ) + 3 2 ( n 3 ) + + n 2 ( n n ) = n . 2 n 1 + n ( n 1 ) . 2 n 2 = 2 n . 2 n 2 + n 2 2 n 2 n 2 n 2 = n . 2 n 2 + n 2 . 2 n 2 = n ( n + 1 ) . 2 n 2 1^2 \binom{n}{1} +2^2 \binom{n}{2} +3^2 \binom{n}{3}+\cdots +n^2 \binom{n}{n}=n.2^{n-1} +n(n-1).2^{n-2}=2n.2^{n-2} + n^2 2^{n-2} - n 2^{n-2} \\ =n.2^{n-2}+n^2.2^{n-2}=n(n+1).2^{n-2}

Now put n = 2017 n=2017 then

1 2 ( 2017 1 ) + 2 2 ( 2017 2 ) + 3 2 ( 2017 3 ) + + 201 7 2 ( 2017 2017 ) = 2017 × 2018 × 2 2017 2 = 2017 × 1009 × 2 2016 1^2 \binom{2017}{1} +2^2 \binom{2017}{2} +3^2 \binom{2017}{3}+\cdots +2017^2 \binom{2017}{2017}=2017 \times 2018 \times 2^{2017-2}=2017 \times 1009 \times 2^{2016}

Why you used e^x? Instead simply you could have used binom exp of (1+x)^n and had put x=1 after few manipulations..

Rishabh Jain - 4 years, 4 months ago

Log in to reply

Can u elaborate more

Kushal Bose - 4 years, 4 months ago

Log in to reply

he means to say that expand ( 1 + x ) n (1+x)^n then differentiate w.r.t x then again multiply it by x x to give n x ( 1 + x ) n 1 nx(1+x)^{n-1} . Now , differentiate it w.r.t x again and put x = 1 finally .

P.S. However , i am seeing e x e^x being used for the first time in calculation of such type of questions ...books mostly have it expanded in terms of x x ...but your solution is unique and much more simpler .

space sizzlers - 4 years, 4 months ago

Log in to reply

@Space Sizzlers While making this problem exponential comes in my mind .Yes it also may be done by above method

Kushal Bose - 4 years, 4 months ago

Log in to reply

@Kushal Bose yes that is why your solution is simpler

space sizzlers - 4 years, 4 months ago

Log in to reply

@Space Sizzlers Ohh Thanks

Kushal Bose - 4 years, 4 months ago

Add this link please : Binomial

Sabhrant Sachan - 4 years, 4 months ago
Manuel Kahayon
Jan 28, 2017

Imagine giving a test to 2017 people, where anyone can pass or fail, and the highest passing scorer and fastest passing test-taker are both given distinction (can be both the same guy). The number of ways to do this if only i i people passed the test is i 2 ( 2017 i ) i^2 {2017 \choose i} .

Now, the number of ways to do this if any number of people can pass the test is obviously i = 1 2017 i 2 ( 2017 i ) \large \displaystyle \sum_{i=1}^{2017} i^2 {2017 \choose i} . which is the required sum above.

Alternatively, we can just have two cases - one where the highest scorer and fastest taker are different, and one where they are just the same guy. If they were the same guy, there would be 2017 2017 ways to choose this guy, and since everyone else can pass or fail, everyone else can do so with 2 2016 2^{2016} ways. For the case where they are different, there are just 2017 2016 2017*2016 ways to choose the two awardees, and 2 2015 2^{2015} ways to make the other test takers pass or fail. So, the number of ways to hold the test is 2017 2 2016 + 2017 2016 2 2015 = 2017 1009 2 2016 2017*2^{2016} + 2017*2016*2^{2015} = 2017* 1009 * 2^{2016} . It then follows that the sum above equals this number, and so, the largest value of n n for which 2 n 2^n divides this sum is 2016 \boxed{2016} .

It's great you guys can turn complex sums into simple real-life probability problems... here is another binomial sum which was solved using a similar strategy...btw @Manuel Kahayon a really unique solution

Ujjwal Mani Tripathi - 4 years, 4 months ago

Log in to reply

That's my problem of the day :D

Manuel Kahayon - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...