Consider the set { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 } .
For each of its subsets, let M be the greatest number. Find the last three digits of the sum of all the M 's.
Assume that 0 is the greatest number of the empty subset.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We shall consider some cases.
Since 1 0 is the greatest number in the whole set, every subset in which 1 0 appears will have M = 1 0 . Fixing 1 0 , we have 2 9 subsets which contain it. Here we use the fact that the power set of any set of n elements has 2 n subsets.
Now, we have to count the number of subsets in which 9 appears, but 1 0 does not. By the same argument, there are 2 8 of such subsets.
Continuing like this, we generate the number of subsets which contain 8 but lack 9 and 1 0 , and so on.
Finally, we have to multiply the number of subsets times their M , and sum these expressions.
Thus, the total sum is
1 0 ∗ 2 9 + 9 ∗ 2 8 + 8 ∗ 2 7 + . . . + 2 ∗ 2 1 + 1 ∗ 2 0 + 0 = 9 2 1 7
Since we only require the last three digits, the answer is 2 1 7
My logic was that there will be 1 null set, 10 sets with one element and so on... So all numbers 1 to 10 will come in the 10 sets once and then in subsets with 2 elements 2 will be highest only when placed with one,3 will be highest twice,4 will be thrice and so on which gives \sum {n=1}^9 n*(n+1) For sets will 3 elements it will be \sum {n=1}^9 n*(n+2) and so on..... the answer i got was 4960 where was i wrong?
Log in to reply
For sets of 3 elements, the sum contains the 3 once, the 4 appears three times (there are 3 subsets of 3 elements which have 4 as the greatest member), the 5 is there six times, and so on.
Your expression for the sum of sets of three elements is wrong.
Problem Loading...
Note Loading...
Set Loading...
We follow Owen's solution up until the bashy sum, and instead of using Wolfram-Alpha, we can use arithmetico-geometric series manipulations. Let x = 1 ⋅ 2 0 + 2 ⋅ 2 1 + 3 ⋅ 2 2 + … + 9 ⋅ 2 8 + 1 0 ⋅ 2 9 Then 2 x = 1 ⋅ 2 1 + 2 ⋅ 2 2 + 3 ⋅ 2 3 + … + 9 ⋅ 2 9 + 1 0 ⋅ 2 1 0 So 2 x − x = − 1 ⋅ 2 0 + 1 ⋅ 2 1 − 2 ⋅ 2 1 + … + 9 ⋅ 2 9 − 1 0 ⋅ 2 9 + 1 0 ⋅ 2 1 0 We see that stuff cancels out to give us a nice geometric series: x = − 1 − 2 − . . . − 2 9 + 1 0 ⋅ 2 1 0 = 1 − 2 1 0 + 1 0 ⋅ 2 1 0 = 9 ⋅ 1 0 2 4 + 1 = 9 2 1 7 But we only want the last three digits → 2 1 7