The number of seven digit integers with sum of the digits equal to 10 and formed by using the digits 1, 2 and 3 only is:
- Option A: 77
- Option B: 82
- Option C: 42
- Option D: 35
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, adding to 10. If every digit were 1 the sum would be 7, so the extra 3 must come from 2s, each adding 1, and 3s, each adding 2. That allows only two 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 or .
Step 2: Arrange
The digits 1, 1, 1, 1, 2, 2, 2 can be arranged in ways, and 1, 1, 1, 1, 1, 2, 3 in ways. The total is .
Answer. (A) 77
Sanity check. Both cases have digit sum 10: four 1s and three 2s give 4 plus 6, and five 1s with a 2 and a 3 give 5 plus 5.
Why the other options are wrong
- (B) The value 82 is 5 more than the sum of the two cases, 35 and 42.
- (C) The value 42 counts only the case with five 1s, one 2 and one 3.
- (D) The value 35 counts only the case with four 1s and three 2s.
Key takeaway
The trap. There can be more than one mix 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 ›