A shelf contains n separate compartments. There are r indistinguishable marbles.
In how many ways can the r marbles be placed in the n compartments?