GATE Computer ScienceHardGATE CS (PYQ pattern)
How many permutations π of {1, …, 8} satisfy π² = identity with none of 1, 2, 3 being a fixed point?
- A. 764
- B. 105
- C. 270
- D. 232
Correct answer: C. 270
Inclusion–exclusion on fixing 1, 2, 3 with involution counts I(8) = 764, I(7) = 232, I(6) = 76, I(5) = 26: 764 − 3·232 + 3·76 − 26 = 764 − 696 + 228 − 26 = 270.
More Discrete Mathematics questions
- In an election A gets 10 votes and B gets 6. Votes are counted one at a time (votes for the same candidate indistinguishable). In how many…
- T(0) = T(1) = 1 and T(n) = T(n − 1) + T(n − 2) + n for n ≥ 2. What is T(12)?
- In how many ways can 16 be written as an ordered sum (a composition) of parts each equal to 1, 3 or 4?
- How many ordered 5-tuples of positive odd integers, each at most 9, sum to 25?
- Eight people A, B, C, D, E, F, G, H sit around a round table (arrangements that differ by rotation are the same). In how many arrangements…
- How many permutations of {1, …, 6} have no increasing subsequence of length 4 and no decreasing subsequence of length 3?