Solveeit Logo

Question

Question: How many \(6\) digit numbers can be formed using the digits \(1,2,3\) only, whose sum of digits is \...

How many 66 digit numbers can be formed using the digits 1,2,31,2,3 only, whose sum of digits is 10?10?

Explanation

Solution

As we can see in the above question we have to use the combination because we have to choose the numbers to make six digits in such a way that the sum has to be 1010. We know that the selection of some or all objects from a given set of different objects is called combination. The formula of combination is written as nCr=n!r!(nr)!^n{C_r} = \dfrac{{n!}}{{r!(n - r)!}}.

Complete step by step answer:
We have been given numbers: 1,2,31,2,3. We have to form six digits from these so that the sum is 1010. Let us make the first selection i.e. 2,2,2,2,1,12,2,2,2,1,1. Now we make the second selection: (3,3,1,1,1,1)(3,3,1,1,1,1). We can see that there can be no more selection of numbers from these given numbers.

In the first order we have 2,2,2,2,1,12,2,2,2,1,1. So we have n=6n = 6, We have 44 repeated four times, so r=4r = 4. Now we can put this in the formula 6!4!(64)!\dfrac{{6!}}{{4!(6 - 4)!}}.
On solving we have,
6!4!2!=6×5×4!4!×2×1\dfrac{{6!}}{{4!2!}} = \dfrac{{6 \times 5 \times 4!}}{{4! \times 2 \times 1}}.
Further simplifying we have the value: 6×52=15\dfrac{{6 \times 5}}{2} = 15.
Similarly we can solve the second selection: (3,3,1,1,1,1)(3,3,1,1,1,1).
So we have n=6n = 6, We have 11 repeated four times, so r=4r = 4. Now we can put this in the formula 6!4!(64)!\dfrac{{6!}}{{4!(6 - 4)!}}.
On solving we have,
6!4!2!=6×5×4!4!×2×1\dfrac{{6!}}{{4!2!}} = \dfrac{{6 \times 5 \times 4!}}{{4! \times 2 \times 1}}
Further simplifying we have the value: 6×52=15\dfrac{{6 \times 5}}{2} = 15.
So we have a total two ways, we add them to get the total number i.e. 15+15=3015 + 15 = 30.

Hence the required answer is 3030.

Note: We should be careful about what we have to use in the solution i.e. permutation or combination. When we arrange objects in a definite order then we call it Permutation. The formula of Permutation is written as nPr=n!(nr)!^n{P_r} = \dfrac{{n!}}{{(n - r)!}}. In permutation we know that 0<rn0 < r \leqslant n, it should be cross checked to avoid calculation errors.