Q. 1.8
Question
Consider -digit numbers where each digit is one of the integers . How many such numbers are there for which
(a) no two consecutive digits are equal?
(b) appears as a digit a total of times, ?
Step-by-Step Solution
Verified(a) Total numbers for which no two consecutive digits are equal are .
(b) Total numbers for which appears as a digit a total of times, are .
We have to form -digit numbers where each digit is one of the integers and no two consecutive digits are equal.
Total no. of digits
So, the first place can be filled in
Each of the remaining place can be filled in as two consecutive digits cannot be equal.
Therefore, the total numbers for which no two consecutive digits are equal are .
We have to form -digit numbers where each digit is one of the integers and appears as a digit a total of times, where .
No. of choices of places to put is
The remaining position can be filled by any of the digits, .
Therefore, the total numbers for which appears as a digit a total of times, .