• retagged by
30,257 views
63 63 votes
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 ______.

9 Answers

Best answer
98 98 votes
We have $\text{LILAC}$.

Lets number the positions as $1,2,3,4,5$. Now the two $L$s cannot be placed at position $1$ and $3$ but they can be positioned at $2,4,5$ in $^3C_2= 3$ ways. (since the $Ls$ are indistinguishable)

Now one of $2,4,5$ is vacant. Without loss of generality lets say $2$ is vacant.

Now, if $2$ is vacant we can't palce $I$ there but we can place any of $A$, or $C$, so we have $2$ choices for the position which is left after filling the two $Ls$. Now all of $2,4,5$ are filled.

For the remaining two places $1,3$ we have two characters left and none of them is $L$ so we can place them in $2! = 2 $ ways.

Multiply them all = $^3C_2 * 2 * 2! = 3 * 2 * 2 = 12  \ (ans)$.
• edited by
21 21 votes

Word is LILAC-

In 1st position A, C and I can come.

Let's start with I - if I comes in 1st position you have 3 choices for 2nd position that are L, A, and C. Now fix L, two choices for 3rd position A and C. If you keep applying this end result would be 

for starting with I

ILACL

ILCLA

IACLL

ICALL

for starting with A

ALICL

ALCIL

ALCLI

ACILL

for starting with C

CLAIL 

CLALI

CLILA

CAILL

So, there are total 12 permutations.

7 7 votes

Answer: 12

Explanation

Here, none of the characters can be at their respective positions in any permutation and we have 2 indistinguishable character- 'L',. Since there are very few characters (5 here) with repeating 'L', we can fix possible positions of 'L' and check. You'll find there are only 3 such possible positions-
1. _ L _ L _
2. _ L _ _ L
3. _ _ _ L L
 

For simplicity, take case 1 and we can conclude that there will be 6 possible strings (3x2x1) which will be-
I L A LC   //NOT ACCEPTABLE SINCE C is at it's correct position
I L C L A
A L C L I
A
L I L C    //NOT ACCEPTABLE SINCE C is at it's correct position
C L A L I
C
L I L A

This leads us to 4 permutations in one such permutation by fixing L.

Similarly there will be 4 such strings in each of the 3 fixed L cases.

Hence total permutations = 4 + 4 + 4 = 12 (or say 4x3)

3 3 votes

Video Solution

https://www.youtube.com/watch?v=X07pj-9KEwM

 

L I L A C

!1 = 0

!2 = 1

!3 = 2(1+0) = 2

!4 = 3(2+1+ = 9

!5 = 4*(9+2) = 44

As $!n = (n-1)[!(n-1)+ !(n-2)]$

Number of ways we can put each alphabet at different place will be !5 i.e. 44

but we have to consider all the cases below

CASE 1: if first L goes in second L’s shoes that means !4 ways are there as I dont care where the second L is

CASE 2: IF second L goes in First L’s shoes that means !4 ways are there as I dont care where the first L is

CASE 3: if First L and Second L swap there place then we have !3 ways of arranging IAC

 

All these cases have to be subtracted from !5

And as we have 2 L’s then we did counting twice, so we will divide by 2!

Ans =  $\frac{!5-!4-!4-!3}{2!}$

which is $\frac{44-9-9-2}{2}=12$

 

 

 

• edited by
Answer:
Position:
Show:

Related questions

60 60 votes
4 answers 4 answers
25.1k
25.1k views
Arjun asked Feb 12, 2020
25,066 views
Consider a double hashing scheme in which the primary hash function is $h_1(k)= k \text{ mod } 23$, and the secondary hash function is $h_2(k)=1+(k \text{ mod } 19)$. Ass...
60 60 votes
5 answers 5 answers
31.3k
31.3k views
Arjun asked Feb 12, 2020
31,302 views
Consider a non-pipelined processor operating at $2.5$ GHz. It takes $5$ clock cycles to complete an instruction. You are going to make a $5$- stage pipeline out of this p...
65 65 votes
9 answers 9 answers
45.8k
45.8k views
Arjun asked Feb 12, 2020
45,755 views
A processor has $64$ registers and uses $16$-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains an opcode, a re...
50 50 votes
4 answers 4 answers
22.2k
22.2k views
Arjun asked Feb 12, 2020
22,205 views
For $n>2$, let $a \in \{0,1\}^n$ be a non-zero vector. Suppose that $x$ is chosen uniformly at random from $\{0,1\}^n$. Then, the probability that $\displaystyle{} \Sigm...