A 6-letter security code is created by arranging all the letters in the word . How many distinct security codes can be formed such that the two letters are not adjacent to each other?
- A20
- B30
- 40Cevap
- D60
- E120
Cevap
40 distinct security codes can be formed such that the two 's are not adjacent.
To find the number of arrangements where the two 's are not adjacent, use complementary counting. First, compute total unrestricted permutations of (1 , 3 's, 2 's), which gives . Next, count the forbidden arrangements where the two 's are together by grouping them into a single block . Arranging , , , , and yields . Subtracting forbidden arrangements from total arrangements gives .
Adım Adım Çözüm
Anahtar Kavram
Counting with Restrictions and Repetitions (Complementary Counting Principle)
Tahmini Süre:1m 30s