Mathematics (JEE)HardGATE CS
How many permutations of {1, 2, ..., 7} have exactly 3 fixed points, that is, exactly 3 values i with p(i) = i?
- A. 1854
- B. 35
- C. 630
- D. 315
Correct answer: D. 315
Choose the 3 fixed points in C(7,3) = 35 ways; the other 4 values must form a derangement, and D4 = 9, so 35 * 9 = 315.
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 {1, 2, 3, 4, 5} satisfy p(i) not in {i, i+1} for every i from 1 to 4, and also p(5) is not 5?
- How many permutations of {1, 2, ..., 8} have no two adjacent entries whose values differ by exactly 1 (that is, |p(i) - p(i+1)| != 1 for…
- How many functions from a 6-element set onto a 4-element set are surjective, that is, use every one of the 4 target values at least once?
- 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)?
- How many integers n with 1 <= n <= 10000 are divisible by exactly one of 3 and 7?
- How many 4-digit numbers have four distinct digits, none of them 0, and an even digit sum?