Permutations and apples
Source: pOMA 2023/1
November 21, 2023
combinatoricspermutations
Problem Statement
Let be a positive integer. Marc has boxes, and in particular, he has one box filled with apples for each . Every day, Marc opens a box and eats all the apples in it. However, if he eats strictly more than apples in two consecutive days, he gets stomach ache. Prove that Marc has exactly distinct ways of choosing the boxes so that he eats all the apples but doesn't get stomach ache.