The number of permutations of the characters in LILAC so that no character appears in its original position, if the two L’s are indistinguishable, is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2020 · Q42
Time
Your answerNumerical answer
Solution
Official answer: 12
CombinatoricsLet the positions be indexed corresponding to the original string .
The letters are two 's, one , one , and one . In the original word:
Position 1 has
Position 2 has
Position 3 has
Position 4 has
Position 5 has
For no character to appear in its original position:
The two 's cannot be placed at positions 1 or 3. Thus, the two 's must be placed in a subset of size 2 from positions . The number of ways to choose 2 positions for the 's is ways:
Case 1: 's at positions Remaining positions to fill are with characters .
Position 1 cannot have ? No, position 1 originally had , so any character can go there.
Position 3 originally had , so any of can go there.
Position 5 originally had , so position 5 cannot have .
Total permutations of in positions is .
Permutations where is at position 5 is .
Valid assignments for this case = .
Case 2: 's at positions Remaining positions are with characters .
Position 4 originally had , so position 4 cannot have .
Positions 1 and 3 have no restriction on .
Valid assignments = .
Case 3: 's at positions Remaining positions are with characters .
Position 2 cannot have .
Positions 1 and 3 have no restriction.
Valid assignments = .
Summing all cases:
Thus, the correct answer is 12.
Try the question first, then check your work.
Examiner trap
Place the two indistinguishable L's first into valid positions (subsets of positions {2, 4, 5}), then count valid arrangements of the remaining three distinct letters.
This Combinatorics previous year question is Q42 of the GATE CSE 2020 paper. Find more GATE CSE PYQs on Combinatorics in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Combinatorics PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Combinatorics has 19 GATE CSE PYQs across 15 papers from 2012 to 2025. 7 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2020.
How GATE tests CombinatoricsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.