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)?
- A. 960
- B. 600
- C. 240
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many permutations p of {0, 1, 2, 3, 4, 5} commute with the 3-cycle sigma = (0 1 2), that is, satisfy p(sigma(i)) = sigma(p(i)) for…
- How many relations R on the set {1, 2, 3, 4} (subsets of the 16 ordered pairs) are both symmetric and transitive?
- How many equivalence relations on {1, 2, 3, 4} have exactly 2 equivalence classes?
- How many partitions of {1, 2, 3, 4, 5, 6} have no block that contains two consecutive integers k and k+1?
- In how many ways can {1, 2, 3, 4, 5, 6} be split into 2 unordered non-empty blocks so that 1 and 2 lie in different blocks?
- In how many ways can the 7 distinct balls 1, 2, ..., 7 be placed into 4 identical boxes so that no box is empty?