Mathematics (JEE)Very hardCAT · MBA placement

How many functions from {1, 2, 3, 4, 5} to {1, 2, 3, 4} have every value of the codomain hit at most twice (no value is the image of three or more domain points)?

  1. A. 960
  2. B. 600
  3. C. 240
  4. D. 1024

Correct answer: B. 600

Enumerating all 4^5 = 1024 functions and keeping those in which no value has more than 2 preimages leaves 600.

More Permutations, Combinations and Probability questions

Exams that ask this topic