We will assume that the hamburgers are considered identical.

Of course the people are all different.

So this question amounts to asking how many ways we can give additional thirty (we have already used up twenty) burgers to twenty people?

The number of ways to put K identical objects into N different cells is .