What is the largest number of pigeonholes that can be occupied by 100 pigeons if each hole is occupied but no two holes contain the same number of pigeons? (Some of these pigeonholes will be roomy.)
Solution
Start by putting 1 pigeon in hole #1, 2 pigeons in #2, and so on. When we get up to 13 we have taken care of pigeons, and the formula for that sum is . There are 8 pigeons left but we already have a pigeonhole with 8, no good.
We see that if we to up to 14 we are over our 100 pigeons: , no good.
We'd better back up to 12: . So in the 13th pigeonhole we'll stuff in 22 pigeons (yikes!), and that takes care of our 100.