Mathematics (JEE)HardCAT · MBA placement

How many functions f from {1, 2, 3, 4, 5, 6} to {1, 2, 3, 4} are onto (every value 1..4 is attained) and satisfy f(1) = f(2)?

  1. A. 1560
  2. B. 480
  3. C. 1024
  4. D. 240

Correct answer: D. 240

Identifying 1 and 2 turns the condition into a surjection from a 5-element set onto a 4-element set: 4^5 - 4*3^5 + 6*2^5 - 4 = 1024 - 972 + 192 - 4 = 240.

More Permutations, Combinations and Probability questions

Exams that ask this topic