Mathematics (JEE)ModerateGATE CS
How many functions f from {1, 2, 3, 4, 5, 6} to itself have exactly 2 fixed points (values i with f(i) = i)?
- A. 19440
- B. 9375
- C. 3840
- D. 3750
Correct answer: B. 9375
Choose the 2 fixed points in C(6,2) = 15 ways; each of the other 4 points maps to any of the 5 values other than itself, so 15 * 5^4 = 9375.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many functions f from {1, 2, 3, 4, 5} onto {1, 2, 3} (every value attained) satisfy f(1) = 1?
- How many subsets of {1, 2, ..., 8} (including the empty set) contain no two distinct elements whose sum is 9?
- How many permutations of {1, 2, 3, 4, 5, 6} have every cycle of length 2 or 3 in cycle notation?
- In how many ways can the set {1, 2, 3, 4} be split into two labelled, non-empty blocks (block 1 and block 2, each element in exactly one…
- How many strings of length 6 over the alphabet {0, 1, 2} contain exactly two 0s, with the two 0s not in adjacent positions?
- How many 4-digit strings have four distinct digits chosen from {1, 2, 3, 4, 5, 6} and an even digit sum?