It is from a programming contest but I feel it pertains more to the mathematics realm ( I once asked it in stackoverflow but they closed the problem saying I should go here )
The problem goes like this:
You are a teacher of a kindergarten class. There are $n$ students in your class and now you want to buy candies for them as year end prizes.
The candy you want to buy is called "colorful", and it has $5$ colors: red, blue, green, yellow, and purple.
There are just one rule: each student can only have one color of candies in their hands. Different students can have different colors though.
When you go to the candy store, you are surprised by the fact that all candy bags from "colorful" are opaque. What you know is, each bag holds $20$ candies. For example, it can contain all $5$ colors, or just one color. ( all other combinations are also possible) You can not tell how many candies of each color in any bag.
Here comes the challenge. If you have $n$ students and you want to hand them $m$ candies each student, what is the minimum number of bags of "colorful" candy you should buy, so that the rule (each student have 1 color) is never broken?
$n=1$, $m=5$. You need $2$ bags. Because in the worst case, the first bag have $5$ colors and $4$ candies each. You still need $1$ candy for any color to meet $5$.