Daily

Random

Practice set

Baltic Way 2011 · Shortlist problem

Combinatorics

A deck consists of 3n3n cards, nn each colored red, green and blue in denominations 11 through nn. We choose a subset SS of the denominations and deal all cards of the chosen denominations into three equal size hands to players designated red, green and blue in such a way that no player receives a card of her own color. Prove that the number of deals for which the denominations appearing in the red player's hand are 1,2,…,k1, 2, \dots, k equals (nk)(2kk)\binom{n}{k}\binom{2k}{k}. (So it doesn't depend on the size of SS.)

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Counting and enumeration

Solutions

Solution

Partition the set of denominations D={1,2,…,k}D = \{1, 2, \dots, k\} occurring in red's hand into three blocks: AA, those appearing on both blue and green cards (in red's hand); BB, those appearing on blue cards only; CC, those appearing on green cards only. Set ∣A∣=a|A| = a, ∣B∣=b|B| = b, ∣C∣=c|C| = c. Thus a+b+c=ka + b + c = k and 2a+b+c2a + b + c is the size of each hand. This implies that the number of denominations not in {1,2,…,k}\{1, 2, \dots, k\} but involved in the deal is aa; call this set EE. The green cards with denominations in B∪EB \cup E must occur in blue's hand. This accounts for ∣B∪E∣=a+b|B \cup E| = a + b cards in blue's hand and so the rest of her hand must consist of a+ca+c red cards. Thus the deal is determined by a choice of the sets AA and BB (CC is then determined), the set EE, and a choice of a+ca+c red cards (from the k+ak+a available) for blue's hand. These choices are counted by the sum over nonnegative aa and bb of the product

(ka)[choose A]×(k−ab)[choose B]×(n−ka)[choose E]×(k+aa+c)[choose red cards for blue’s hand].\binom{k}{a} [\text{choose } A] \times \binom{k-a}{b} [\text{choose } B] \times \binom{n-k}{a} [\text{choose } E] \times \binom{k+a}{a+c} [\text{choose red cards for blue's hand}].

This sum can be written

∑a≥0(ka)(n−kn−k−a)∑b≥0(k−ab)(k+ak−b).\sum_{a \ge 0} \binom{k}{a} \binom{n-k}{n-k-a} \sum_{b \ge 0} \binom{k-a}{b} \binom{k+a}{k-b}.

The inner sum equals (2kk)\binom{2k}{k}, independent of aa (we have k−ak-a candies and k+ak+a toffees and want to choose kk sweeties), and then the first sum equals (nn−k)\binom{n}{n-k}.