What is the number of 6-digit numbers that can be formed only by using 0, 1, 2, 3, 4 and 5 (each once); and divisible by 6 ?
312
The question asks us to find the total count of 6-digit numbers that can be created using each of the digits 0, 1, 2, 3, 4, and 5 exactly once. Additionally, these numbers must be divisible by 6.
This problem involves permutations and the application of divisibility rules.
A number is divisible by 6 if and only if it is divisible by both 2 and 3.
Therefore, the condition for the 6-digit number to be divisible by 6 simplifies to just one condition: the number must be even.
A 6-digit number $d_1 d_2 d_3 d_4 d_5 d_6$ formed using the digits {0, 1, 2, 3, 4, 5} exactly once must satisfy:
We will count the numbers by considering the possible even digits for the last position ($d_6$).
If the last digit is 0, the remaining digits to be arranged in the first five positions ($d_1 d_2 d_3 d_4 d_5$) are {1, 2, 3, 4, 5}.
The number of ways to arrange the remaining 5 digits in the first 5 places is $5!$.
Number of numbers ending in 0 = $5! = 5 \times 4 \times 3 \times 2 \times 1 = 120$.
| Position | $d_1$ | $d_2$ | $d_3$ | $d_4$ | $d_5$ | $d_6$ |
|---|---|---|---|---|---|---|
| Options | 5 (any of {1,2,3,4,5}) | 4 (remaining) | 3 (remaining) | 2 (remaining) | 1 (remaining) | 1 (fixed as 0) |
Total for Case 1: $5! = 120$.
If the last digit is 2, the remaining digits to be arranged in the first five positions ($d_1 d_2 d_3 d_4 d_5$) are {0, 1, 3, 4, 5}.
Number of ways:
| Position | $d_1$ | $d_2 d_3 d_4 d_5$ | $d_6$ |
|---|---|---|---|
| Options | 4 (from {1,3,4,5}) | $4!$ (arrangement of remaining 4 digits) | 1 (fixed as 2) |
Number of numbers ending in 2 = $4 \times 4! = 4 \times 24 = 96$.
If the last digit is 4, the remaining digits to be arranged in the first five positions ($d_1 d_2 d_3 d_4 d_5$) are {0, 1, 2, 3, 5}. This case is symmetric to Case 2.
Number of ways:
| Position | $d_1$ | $d_2 d_3 d_4 d_5$ | $d_6$ |
|---|---|---|---|
| Options | 4 (from {1,2,3,5}) | $4!$ (arrangement of remaining 4 digits) | 1 (fixed as 4) |
Number of numbers ending in 4 = $4 \times 4! = 4 \times 24 = 96$.
To find the total number of 6-digit numbers that satisfy the conditions, we sum the counts from the three cases:
Total = (Numbers ending in 0) + (Numbers ending in 2) + (Numbers ending in 4)
Total = $120 + 96 + 96 = 312$.
Thus, there are 312 such 6-digit numbers.
| Condition | Explanation | Calculation/Reason |
|---|---|---|
| Digits used | {0, 1, 2, 3, 4, 5} exactly once | Sum of digits = 15 (divisible by 3) |
| Divisibility by 6 | Must be divisible by 2 and 3 | Divisible by 3 is guaranteed. Needs to be divisible by 2 (last digit is even). |
| Last digit ($d_6$) | Must be in {0, 2, 4} | Even digits from the set |
| First digit ($d_1$) | Cannot be 0 | Ensures it's a 6-digit number |
| Case $d_6=0$ | Digits {1,2,3,4,5} for first 5 places | $5! = 120$ numbers |
| Case $d_6=2$ | $d_1 \in \{1,3,4,5\}$, remaining 4 digits arranged | $4 \times 4! = 96$ numbers |
| Case $d_6=4$ | $d_1 \in \{1,2,3,5\}$, remaining 4 digits arranged | $4 \times 4! = 96$ numbers |
| Total numbers | Sum of all cases | $120 + 96 + 96 = 312$ |
This problem is a classic example of counting permutations with restrictions. When forming numbers from a given set of digits, common restrictions include:
When solving such problems, it is often helpful to address the most restrictive conditions first, such as the non-zero first digit or the required last digit for divisibility.
Permutations of $n$ distinct objects is $n!$. The number of permutations of $n$ objects taken $r$ at a time is $P(n, r) = \frac{n!}{(n-r)!}$. When some digits are fixed or restricted, we break down the problem by considering those positions and then arranging the remaining digits in the remaining positions.
In how many ways can a team of 5 players be selected from 8 players so as not to include a particular player?
How many four-digit natural numbers are there such that all of the digits are odd ?
If different permutations of the letters of the word 'MATHEMATICS' are listed as in a dictionary, how many words (with or without meaning) are there in the list before the first word that starts with C ?
If P (n, r) = 2520 and C (n, r) = 21, then what is the value of C (n + 1, r + 1)?
If n! has 17 zeros, then what is the value of n?
What is C(47, 4) + C(51, 3) + C(50, 3) + C(49, 3) + C(48, 3) + C(47, 3) equal to?
Let x be the number of integers lying between 2999 and 8001 which have at least two digits equal. Then x is equal to
There are 17 cricket players, out of which 5 players can bowl. In how many ways can a team of 11 players be selected so to include 3 bowlers?
The total number of 5 - digit numbers that can be composed of distinct digits from 0 to 9 is
What is the sum of all three-digit numbers that can be formed using all the digits 3,4 and 5 where repetition of digits is not allowed?
Three boxes are coloured red, blue and green and so are three balls. In how many ways can one put the balls one in each box such that no ball goes into the box of its own colour?
Six indistinguishable balls are to be distributed amongst A, B and C, such that each gets at least one. Then the number of ways to make this distribution is
A palindrome is a word that reads the same backwards and forwards. For example, the word LEVEL is a palindrome. If we are allowed to construct words that need not have a meaning, then in how many different ways can we construct a five-letter palindrome using English alphabets?
If nPr = 720 and nCr = 120, then the value of r is:
What will be the number of permutations of n different things, taken r at a time, where repeatition is allowed?