How many distinct 6-digit positive integers can be formed using all of the digits and such that no two identical digits are adjacent to each other?
- A36
- B60
- C72
- 84Cevap
- E96
Cevap
84
To find the number of 6-digit integers where no two identical digits are adjacent, apply complementary counting with the Principle of Inclusion-Exclusion. First, calculate the total distinct arrangements of the digits , which is . Next, count the forbidden outcomes. Treating the two 1s as a single block gives arrangements with adjacent 1s. Similarly, treating the two 2s as a single block gives arrangements with adjacent 2s. Arrangements where both the 1s are adjacent and the 2s are adjacent use two single blocks along with digits 3 and 4, giving arrangements. By Inclusion-Exclusion, the total number of forbidden arrangements is . Subtracting these from the total unrestricted arrangements gives .
Adım Adım Çözüm
Anahtar Kavram
Permutations of Multisets with Restrictions via Inclusion-Exclusion