Question

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

Official answer and solution
Official answer
12
From
Official GATE 2020 answer key

Solution

Count valid derangements by placing the two indistinguishable L's first, then arranging the remaining letters.

Word: LILAC (letters: L,I,L,A,CL, I, L, A, C).
Original positions:

  • Position 1: L
  • Position 2: I
  • Position 3: L
  • Position 4: A
  • Position 5: C

Placement condition: No letter may appear in its original position.

  • The two L's cannot be at positions 1 or 3.
  • Therefore, the two L's must be placed in positions chosen from {2,4,5}\{2, 4, 5\}.
  • Number of ways to choose positions for the two L's is (32)=3\binom{3}{2} = 3.

Analyze the three cases for remaining letters {I,A,C}\{I, A, C\}:

  1. L's at positions 2 and 4:
    • Remaining positions: {1,3,5}\{1, 3, 5\}.
    • Forbidden positions for remaining letters: C cannot be at 5 (its original position). I and A have no forbidden positions in {1,3,5}\{1, 3, 5\}.
    • Total permutations of 3 letters = 3!=63! = 6. Permutations with C at position 5 = 2!=22! = 2.
    • Valid arrangements = 6−2=46 - 2 = 4.
  2. L's at positions 2 and 5:
    • Remaining positions: {1,3,4}\{1, 3, 4\}.
    • Forbidden position: A cannot be at position 4.
    • Valid arrangements = 3!−2!=6−2=43! - 2! = 6 - 2 = 4.
  3. L's at positions 4 and 5:
    • Remaining positions: {1,2,3}\{1, 2, 3\}.
    • Forbidden position: I cannot be at position 2.
    • Valid arrangements = 3!−2!=6−2=43! - 2! = 6 - 2 = 4.

Total number of valid permutations:

Total=4+4+4=12\text{Total} = 4 + 4 + 4 = 12
Final answer

12

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2020 Computer Science and Information Technology (CS)
Question
52 of 65, printed as CS Q.42
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.