سوال ۱۱۸ کنکور ارشد علوم کامپیوتر ۱۳۹۷
مجموع اعداد ۶ رقمی که با رقمهای ۴ و ۴ و ۴ و ۱ و ۱ و ۱ ساخته میشوند، کدام است؟
پاسخ صحیح: گزینهٔ A — ۵۵۵۵۵۵۰
We form 6-digit numbers from the multiset of digits . A number is fixed by choosing which of the positions hold the digit (the rest hold ), so the count of distinct numbers is
None of these has a leading zero, so all are valid 6-digit numbers.
Per-position digit sum (symmetry argument). Fix one of the six positions. How many of the numbers carry a in that position? After placing a there, the remaining two 's occupy of the other positions, giving ways. By the same count, a sits in that position in the other numbers.
So, summed over all numbers, the digit appearing in any single position contributes
Add the place values. Each position's total of is weighted by its place value :
This matches option 1. (Cross-check: option 4, , and option 3, , are far too large.)
Exam trick: For "sum of all numbers from a multiset of digits," never list them. Find the per-position digit total by symmetry, then multiply by the repunit of the right length.