Mathematics (JEE)HardCodeforces Div2 D
How many permutations p of {1, 2, 3, 4, 5, 6} satisfy p(i) >= i - 2 for every i?
- A. 720
- B. 32
- C. 64
- D. 162
Correct answer: D. 162
Enumerating the 720 permutations and rejecting any with p(i) < i - 2 for some i leaves 162.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many 3-element subsets of {1, 2, ..., 10} have an element sum divisible by 10?
- How many 3-element subsets of {1, 2, ..., 12} have every two elements differing by at least 3?
- How many integers n with 1 <= n <= 2000 are divisible by none of 4, 6 and 9?
- How many integers n with 1 <= n <= 999 have a decimal digit sum divisible by 7?
- How many necklaces of 8 beads can be made using black and white beads so that exactly 4 beads are black? Rotations identify necklaces…
- How many necklaces of 6 beads can be made from 3 colours so that all three colours appear? Rotations identify necklaces; reflections are…