MathDB
Permutations and apples

Source: pOMA 2023/1

November 21, 2023
combinatoricspermutations

Problem Statement

Let nn be a positive integer. Marc has 2n2n boxes, and in particular, he has one box filled with kk apples for each k=1,2,3,,2nk=1,2,3,\ldots,2n. Every day, Marc opens a box and eats all the apples in it. However, if he eats strictly more than 2n+12n+1 apples in two consecutive days, he gets stomach ache. Prove that Marc has exactly 2n2^n distinct ways of choosing the boxes so that he eats all the apples but doesn't get stomach ache.