2026-04-01

Problem — 2026-04-01

Medium

Mediumcombinatorics

In how many ways can 55 distinct balls be placed into 33 distinct boxes so that no box is empty?

Enter an integer

Show solution
Total placements: 35=2433^5 = 243. Subtract placements using at most 22 boxes: (31)25=96\binom{3}{1} \cdot 2^5 = 96. Add back placements using exactly 11 box: (32)15=3\binom{3}{2} \cdot 1^5 = 3. By inclusion-exclusion: 24396+3=150243 - 96 + 3 = 150.