Text

Polite Ninja sends a contingent of 1717 secret agents to guard the 1313 (distinct) hotels of the capital, so that each hotel is assigned one agent, and no more than one.

  • (a) In how many ways can he assign the agents to the hotels?
  • (b) He wants to equip the 1717 agents with 1010 identical sniper rifles, no more than one each: in how many ways can he hand them out?
  • (c) He distributes 4040 identical gold ingots to his agents, possibly more than one each: in how many ways?
  • (d) He posts a list of 1010 different car models and asks each agent to mark their favourite (the same model may be chosen by several agents): in how many ways can the choice happen?