I understand that the pigeonhole principle is supposedly a quite simple concept. However could you please explain to me the reasoning of how you reach this answer. Thank you.
Question: A basket cannot contain more than $24$ apples. What is the minimum amount of baskets you must have, to ensure you have at least $5$ baskets with the same number of apples in them (all baskets have at least $1$ apple contained within).
Answer of this question being $97$ baskets.
The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.
Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.
The problem here :
There are $24$ possibilities for the number of apples in a basket.
Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.
But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.