Olympiad Maths Prep

Track / Stage 6 / 43 of 400 #1043 of 2000

Problem 1043

National olympiad, first round
Combinatorics Difficulty 6.0 Prove it

Show that for any positive integer nn, we have the equality

k=0n2k(nk)(nk(nk)/2)=(2n+1n) \sum_{k=0}^{n} 2^{k}\binom{n}{k}\binom{n-k}{\lfloor(n-k) / 2\rfloor}=\binom{2 n+1}{n}

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

There are essentially two ways to approach an exercise of this type. The first is a brute force induction proof, generally using Pascal's formula for the propagation step. The second method is a combinatorial proof. This method involves counting the cardinality of the same well-chosen set in two different ways, which directly reveals an equality. This method is often shorter and more pleasant, and we will use it here.

The idea is to calculate in two different ways the number of subsets with nn elements of a set with 2n+12n+1 elements. This number is equal to (2n+1n)\binom{2n+1}{n}, the right-hand side of our equality. Let's now try to bring out the left-hand side. By observing this term, we see a 2k2^k term, which corresponds to kk binary choices, and a (nk)\binom{n}{k} term, corresponding to the choice of kk elements. By putting these two elements together, we arrive at the following method of calculation.

Group our 2n+12n+1 elements into nn pairs, and set the last element aside. Choose kk of these pairs ((nk)\left(\binom{n}{k}\right. choices). The number kk corresponds to the number of pairs containing exactly one element of our set with nn elements: in each of these kk pairs, choose one of the two elements (2k2^k choices). We have selected kk elements, and we need to choose nkn-k more to end up with a set of nn elements. These nkn-k elements must be grouped into (nk)/2\lfloor(n-k) / 2\rfloor pairs, and if nkn-k is odd, to complete, we add to our set the element not belonging to any pair. It is immediately clear that we thus construct each set of nn elements once, and that there are k=0n2k(nk)(nk(nk)/2)\sum_{k=0}^{n} 2^{k}\binom{n}{k}\binom{n-k}{\lfloor(n-k) / 2\rfloor} ways to perform this construction.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.