The sum of all the four-digit numbers that can be formed using all the digits 2, 1, 2, 3 is equal to ____.
Solution
Core idea. The sum of all arrangements is found place by place.
Concept refresher. If the digits in each place of a set of four-digit numbers add to , the sum of the numbers is
Picture the situation. The digits are 1, 2, 2, 3, so the numbers are the different arrangements of these four digits, and the repeated 2 reduces their number. Adding the numbers directly is long; adding one place at a time is quick, because every place sees the same collection of digits.
Approach. Count the numbers, add the digits appearing in one place, and multiply by the sum of the place values.
Step 1: How many numbers
The digits 1, 2, 2, 3 can be arranged in ways, so there are 12 numbers.
Step 2: One place
In any one place the digit 2 appears in 6 of the numbers, and 1 and 3 appear in 3 each. So each place adds up to .
Step 3: The sum
Every place has the same total, so the sum of the numbers is .
Answer. 26664
Sanity check. The average digit is , so the average number is 2222, and .
Common wrong answers
- 53328: Treating the two 2s as different gives 24 numbers and a sum of 53328, which counts every number twice.
Key takeaway
The trap. Alike digits reduce the number of different arrangements.
How toppers think. They multiply the number of arrangements by the average number.
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 ›