Question
Let be the set of seven digit numbers with sum of their digits equal to 11. If the numbers in are formed by using the digits 1, 2 and 3 only, then the number of elements in the set is :
Options
Solution
Key Concepts and Formulas
- Linear Diophantine Equations: These are linear equations where the solutions are required to be integers. In this problem, we need to find non-negative integer solutions.
- Permutations with Repetition: If we have objects where are of one type, are of a second type, ..., and are of a -th type, then the number of distinct arrangements (permutations) of these objects is given by: where .
- Factorial: For a non-negative integer , the factorial is the product of all positive integers less than or equal to . By convention, .
Step-by-Step Solution
Step 1: Define Variables and Set Up Equations
We define the variables to represent the number of times each digit appears in the seven-digit number. Let:
- be the number of times the digit '1' appears.
- be the number of times the digit '2' appears.
- be the number of times the digit '3' appears.
Since we are forming a seven-digit number, the sum of the counts of each digit must be 7:
The sum of the digits must be 11, so we have:
We seek non-negative integer solutions for and .
Step 2: Simplify the Equations
Subtract Equation 1 from Equation 2 to eliminate :
Step 3: Find Possible Values for z
From Equation 3, we can express in terms of : . Since must be non-negative, we have , which implies , or . Therefore, the possible non-negative integer values for are 0, 1, and 2.
Step 4: Case Analysis for Each Value of z
We will analyze each possible value of and find the corresponding values of and .
-
Case 1:
- Substituting into Equation 3, we get .
- Substituting and into Equation 1, we get , so .
- Thus, we have . The digits are {1, 1, 1, 2, 2, 2, 2}.
- The number of distinct arrangements is .
-
Case 2:
- Substituting into Equation 3, we get .
- Substituting and into Equation 1, we get , so .
- Thus, we have . The digits are {1, 1, 1, 1, 2, 2, 3}.
- The number of distinct arrangements is .
-
Case 3:
- Substituting into Equation 3, we get .
- Substituting and into Equation 1, we get , so .
- Thus, we have . The digits are {1, 1, 1, 1, 1, 3, 3}.
- The number of distinct arrangements is .
Step 5: Calculate the Total Number of Elements
The total number of elements in set is the sum of the distinct arrangements from each case:
Common Mistakes & Tips
- Ensure that you consider all possible values for the variable you are using to iterate through the cases. Remember that the values must be non-negative integers.
- Double-check your factorial calculations to avoid errors in computing the number of distinct arrangements for each case.
- Always verify that the sum of the counts of each digit equals 7 and that the sum of the digits equals 11 for each case.
Summary
We found the number of seven-digit numbers that can be formed using the digits 1, 2, and 3 such that the sum of their digits is 11 by setting up and solving a system of linear Diophantine equations. We then used the formula for permutations with repetition to calculate the number of distinct arrangements for each possible combination of digits. Summing the number of arrangements for each case gave us the total number of such numbers, which is 161.
The final answer is , which corresponds to option (C).