Text
Polite Ninja sends agents to guard the (distinct) hotels of the capital, each hotel one agent and no more than one.
- (a) In how many ways can he make the assignment?
- (b) He distributes identical rifles to the agents, no more than one each: in how many ways?
- (c) He distributes identical gold ingots to his agents, possibly more than one to the same person: in how many ways?
Solution
(a) Simple arrangements of agents in class : . (b) Choose the armed agents out of : . (c) Combinations with repetition ( ingots into urns): .