Text
An ice-cream shop offers flavours. In how many ways can a cup with scoops be composed, if flavours may repeat and the order of the scoops does not matter?
Solution
Since flavours may repeat and order is irrelevant, these are combinations with repetition of flavours taken at a time: