GateAI
Combinatorics

GATE CSE 2020 · Q42

NAT2 marksMedium

Time

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 _________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 12

Combinatorics

Let the positions be indexed 1,2,3,4,51, 2, 3, 4, 5 corresponding to the original string L1I2L3A4C5\text{L}_1\text{I}_2\text{L}_3\text{A}_4\text{C}_5.

The letters are two L\text{L}'s, one I\text{I}, one A\text{A}, and one C\text{C}. In the original word:

  • Position 1 has L\text{L}

  • Position 2 has I\text{I}

  • Position 3 has L\text{L}

  • Position 4 has A\text{A}

  • Position 5 has C\text{C}

For no character to appear in its original position:

  1. The two L\text{L}'s cannot be placed at positions 1 or 3. Thus, the two L\text{L}'s must be placed in a subset of size 2 from positions {2,4,5}\{2, 4, 5\}. The number of ways to choose 2 positions for the L\text{L}'s is (32)=3\binom{3}{2} = 3 ways:

    • Case 1: L\text{L}'s at positions {2,4}\{2, 4\} Remaining positions to fill are {1,3,5}\{1, 3, 5\} with characters {I,A,C}\{\text{I}, \text{A}, \text{C}\}.

      • Position 1 cannot have I\text{I}? No, position 1 originally had L\text{L}, so any character can go there.

      • Position 3 originally had L\text{L}, so any of {I,A,C}\{\text{I}, \text{A}, \text{C}\} can go there.

      • Position 5 originally had C\text{C}, so position 5 cannot have C\text{C}.

      • Total permutations of {I,A,C}\{\text{I}, \text{A}, \text{C}\} in positions {1,3,5}\{1, 3, 5\} is 3!=63! = 6.

      • Permutations where C\text{C} is at position 5 is 2!=22! = 2.

      • Valid assignments for this case = 6−2=46 - 2 = 4.

    • Case 2: L\text{L}'s at positions {2,5}\{2, 5\} Remaining positions are {1,3,4}\{1, 3, 4\} with characters {I,A,C}\{\text{I}, \text{A}, \text{C}\}.

      • Position 4 originally had A\text{A}, so position 4 cannot have A\text{A}.

      • Positions 1 and 3 have no restriction on {I,A,C}\{\text{I}, \text{A}, \text{C}\}.

      • Valid assignments = 3!−2!=6−2=43! - 2! = 6 - 2 = 4.

    • Case 3: L\text{L}'s at positions {4,5}\{4, 5\} Remaining positions are {1,2,3}\{1, 2, 3\} with characters {I,A,C}\{\text{I}, \text{A}, \text{C}\}.

      • Position 2 cannot have I\text{I}.

      • Positions 1 and 3 have no restriction.

      • Valid assignments = 3!−2!=6−2=43! - 2! = 6 - 2 = 4.

Summing all cases:

Total valid permutations=4+4+4=12\text{Total valid permutations} = 4 + 4 + 4 = 12

Thus, the correct answer is 12.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Combinatorics in GATE CSE

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 Combinatorics

More from GATE CSE 2020

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2020 · Q42 · NAT

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

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.