GATE Computer ScienceVery hardGATE CS (PYQ pattern)
How many permutations of {1, …, 8} have no cycle of length 1 or 2 (every cycle has length ≥ 3)?
- A. 14833
- B. 9468
- C. 8988
- D. 7080
Correct answer: C. 8988
The EGF is e^(−x − x²/2)/(1 − x); extracting the coefficient of x⁸/8! gives 8988. Derangements D₈ = 14833 also allow 2-cycles.
More Discrete Mathematics questions
- How many permutations π of {1, …, 8} satisfy π² = identity with none of 1, 2, 3 being a fixed point?
- 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…