Mathematics (JEE)Very hardGATE CS
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 covering all points.)
- A. 76
- B. 120
- C. 15
- D. 90
Correct answer: C. 15
Such a permutation is exactly a perfect matching of 6 points: pair the first point with 5 choices, the next free point with 3, and the last pair is forced, so 5 * 3 * 1 = 15.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- 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…
- In how many ways can the 6 people {1, 2, 3, 4, 5, 6} be split into 3 unordered pairs?