Mathematics (JEE)Very hardCodeforces Div2 D
How many permutations of {1, 2, 3, 4, 5, 6} have every cycle of length at least 3 (so no fixed point and no 2-cycle)?
- A. 265
- B. 160
- C. 120
- D. 40
Correct answer: B. 160
The cycle types are a single 6-cycle, giving 5! = 120, or two 3-cycles, giving 6!/(3^2 * 2!) = 40, so the total is 120 + 40 = 160.
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} satisfy p(p(i)) = i and p(i) != i for every i? (That is, p is a product of disjoint 2-cycles…
- How many permutations of {1, 2, ..., 7} have exactly 3 cycles when written in cycle notation (fixed points count as 1-cycles)?
- How many permutations of {1, 2, ..., 7} have exactly one fixed point, that is, exactly one value i with p(i) = i?
- Each of the 8 vertices of a cube is painted black or white. Two colourings are the same if one can be turned into the other by a rotation…
- How many necklaces can be made from 4 beads, each bead coloured with one of 4 colours? Necklaces that differ by a rotation are the same…
- How many bracelets can be made from 5 beads, each bead coloured with one of 3 colours? Two bracelets are the same if one can be rotated or…