GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 42

GATE CSE 2020 Q42

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2020 paper

GATE 2020, Q42 2 marks · NAT
Report issue

Combinatorics & Counting

Question 42, GATE 2020: How many distinct permutations of LILAC place no character in any of its original positions, treating the two Ls as indistinguishable?
Tap to enlarge
Answer & solution

Official answer: 12

Worked explanation

Number positions 1…5 with original symbols L,I,L,A,C. Neither L may occupy 1 or 3, so choose their two positions from {2,4,5} in C(3,2)=3 ways. After that, remaining positions are 1,3 and one r in {2,4,5}. At positions 1 and 3 any of I,A,C is allowed because the original symbol there was L. The only forbidden placement is the symbol originally at r returning to r. There are 3!=6 arrangements of I,A,C, and fixing that forbidden symbol leaves 2!=2 bad arrangements. Therefore each L choice yields 4 valid arrangements, total 12. Treating the Ls as labeled would double-count; using !5 blindly also misses their shared exclusion from both original L slots.

Derivation and answer

The two indistinguishable Ls must occupy two of positions 2, 4, 5, giving three choices. The one unoccupied position among those three is the original location of one of I, A, C. Place I, A, C in that position and positions 1, 3: of the 6 permutations, exactly 2 put that particular character back in its original position. Thus each L placement permits 4 arrangements, totaling 3*4=12. Direct enumeration of the 60 distinct permutations also yields 12.

Original paper, page 13 · Answer key