Mathematics (JEE)HardGATE CS
How many permutations of {1, 2, 3, 4, 5} have at most one fixed point (values i with p(i) = i)?
- A. 44
- B. 89
- C. 76
- D. 45
Correct answer: B. 89
Zero fixed points give D5 = 44 permutations, and exactly one fixed point gives 5 * D4 = 5 * 9 = 45, so the total is 89.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A 3-letter word is formed by choosing each letter independently and uniformly from {a, b, c}. What is the probability that at least two of…
- Two fair dice are rolled. What is the probability that the sum is 5 or 9?
- An integer is chosen uniformly from 1 to 50. What is the probability that it is a perfect square or a prime number?
- A 3-digit number is chosen uniformly from 100 to 999. What is the probability that it is divisible by 5?
- Two fair dice are rolled. What is the probability that the absolute difference of the two numbers is exactly 3?
- A random 5-bit string is chosen uniformly from all 32 strings. What is the probability that it contains at most one 1?