Mathematics (JEE)HardCAT · MBA placement

How many functions f from {1, 2, 3, 4, 5} onto {1, 2} (both values attained) satisfy f(1) != f(2)?

  1. A. 30
  2. B. 8
  3. C. 24
  4. D. 16

Correct answer: D. 16

The 30 surjections from a 5-set onto a 2-set are split by whether f(1) = f(2); enumerating them leaves 16 with f(1) != f(2).

More Permutations, Combinations and Probability questions

Exams that ask this topic