Messy sum simplifies to a binomial coefficient!

Let S ( n ) = i = 0 n 2 i ( n i ) ( n i n i 2 ) . S(n)=\sum_{i=0}^n 2^i{n\choose i}{n-i\choose \left\lfloor\frac{n-i}{2}\right\rfloor}.

If S ( 2017 ) = ( M 2017 ) S(2017) = \dbinom{M}{2017} , find M M .


Notations:

  • \lfloor \cdot \rfloor denotes the floor function .
  • ( M N ) = M ! N ! ( M N ) ! \dbinom MN = \dfrac {M!}{N! (M-N)!} denotes the binomial coefficient .

Inspiration .


The answer is 4035.

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.

1 solution

Jessica Wang
Jan 9, 2017

Relevant wiki: Double Counting

Here, we make use of the double counting technique:

Consider a team, which has n n males, n n females and 1 1 leader. The number of combinations of n n people in total showing up in an event can be counted in two different ways:

( 1 ) . (1). Since this is equivalent to choosing n n elements from n + n + 1 = 2 n + 1 n+n+1=2n+1 elements, the number of combinations can be expressed as ( 2 n + 1 n ) \binom{2n+1}{n} .

( 2 ) . (2). Let the n n males and n n females form n n pairs of couples. Then among the n n people who show up, some people's partners might be absent. Let the number of people whose partners are absent be i i , with 0 i n 0\leqslant i\leqslant n .

First, choose the couples containing the i i people whose partners are missing. Since there are a total of n n couples, we can do this in ( n i ) \binom{n}{i} ways. Then choose one person from each couple to show up, which can be done in 2 i 2^{i} ways. Therefore, there are 2 i ( n i ) 2^{i}\binom{n}{i} number of ways to choose the i i people with missing partners.

Next, choose the couples who do show up (i.e. each person's partner is not missing). Let the number of couples who do show up be k k . Then, consider two situations, namely, when the leader shows up and when the leader doesn't show up. If the leader shows up, then 2 k + 1 + i = n 2k+1+i=n , giving k = n i 1 2 k=\frac{n-i-1}{2} . If the leader doesn't show up, then 2 k + i = n 2k+i=n , giving k = n i 2 k=\frac{n-i}{2} . Either way, k = ( n i ) / 2 k=\left \lfloor (n-i)/2 \right \rfloor .

Since we've already selected i i people with absent partners, we only have n i n-i potential couples to show up. The number of ways of choosing k k couples from these n i n-i potential couples is therefore ( n i k ) = ( n i ( n i ) / 2 ) \binom{n-i}{k}=\binom{n-i}{\left \lfloor (n-i)/2 \right \rfloor} .

Summing over 0 i n 0\leqslant i\leqslant n , we have the result

i = 0 n 2 i ( n i ) ( n i n i 2 ) = ( 2 n + 1 n ) . \sum_{i=0}^n 2^i{n\choose i}{n-i\choose \left\lfloor\frac{n-i}{2}\right\rfloor}=\binom{2n+1}{n}.

Thus, M = 2 × 2017 + 1 = 4035 . M=2 \times 2017+1= \boxed{4035}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...