Mathematics (JEE)Very hardISI entrance

How many surjective functions are there from {1, 2, 3, 4, 5, 6} onto {a, b, c} in which 1 and 2 are sent to different elements?

  1. A. 480
  2. B. 540
  3. C. 450
  4. D. 390

Correct answer: D. 390

Brute force over the 3⁶ functions, keeping the onto ones with f(1) ≠ f(2), gives 390. Option 540 counts all surjections and ignores the restriction on 1 and 2.

More Permutations, Combinations and Probability questions

Exams that ask this topic