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.
Consider the following statements for a fixed natural number n:
1. C(n, r) is greatest if n = 2r
2. C(n, r) is greatest if n = 2r - 1 and n = 2r + 1
Which of the statements given above is/are correct ?
Let x be the number of permutations of the word ‘PERMUTATIONS’ and y be the number of permutations of the word ‘COMBINATIONS’. Which one of the following is correct ?
What is the number of ways in which 3 holiday travel tickets are to be given to 10 employees of an organization, if each employee is eligible for any one or more of the tickets?
A polygon has 44 diagonals then the number of its sides is
The number of ways in which 3-holiday tickets can be given to 20 employees of an organization if each employee is eligible for any one or more of the tickets, is