Let P be the set of seven digit numbers with sum of their digits equal to 11 . If the numbers in P are formed by using the digits 1,2 and 3 only, then the number of elements in the set is :
- Option A: 173
- Option B: 164
- Option C: 158
- Option D: 161
Solution
Core idea. The counts of each digit come from two linear conditions.
Concept refresher. Objects with repeats and among can be arranged in
ways; independent choices multiply and separate cases add.
Picture the situation. The number has seven digits, each 1, 2 or 3. If every digit were 1 the sum would be 7, so the extra 4 must come from 2s, each adding 1, and 3s, each adding 2. That allows three mixes of digits, and each mix can be arranged in several ways.
Approach. Find the possible counts of each digit, arrange each case with repeats, and add.
Step 1: The cases
With ones, twos and threes, and . Subtracting, , so is , or , with , 4 or 5.
Step 2: Arrange
The three cases can be arranged in , and ways. The total is .
Answer. (D) 161
Sanity check. Each case has seven digits adding to 11: 3 plus 8; then 4 plus 4 plus 3; then 5 plus 6.
Why the other options are wrong
- (A) The value 173 is 12 more than the sum of the three cases, 35, 105 and 21.
- (B) The value 164 is 3 more than the sum of the three cases, 35, 105 and 21.
- (C) The value 158 is 3 short of the sum of the three cases, 35, 105 and 21.
Key takeaway
The trap. There can be several mixes of digits with the required sum.
How toppers think. They start from all 1s and see how the extra sum can be made up.
Remember.
More on Permutations
- The number of 4 -letter words, with or without meaning, each consisting of two vowels and two consonants…
- The number of ways, of forming a queue of 4 boys and 3 girls such that all the girls are not together, is:
- Three persons enter in a lift at the ground floor. The lift will go up to 10^th floor. The number of ways…
- All 55 on Permutations ›