The majestic Calvin Set is denoted as C where
C = { 0 , 1 , 2 , 4 , 8 , 1 6 , 3 2 , 6 4 , 1 2 8 , 2 5 6 , 5 1 2 , 1 0 2 4 }
Lin takes at least two elements of C and adds them.
How many numbers can Lin create?
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.
The key was that you included 0 in C even though it is not actually a power of 2 itself. This preserved all the powers of 2 as being part of the solution set, for otherwise if 0 were not present then the elements of C ′ = C − { 0 } themselves could not be be expressed as a sum of two or more elements of C ′ .
answer is very simple if you considered it as a binary system so you can create any number between 0 up to 1024 x 2 with this set of numbers
every number in the set is less than the sum of the previous numbers by 1.
so the answer is 1024 x 2 - 1 = 2047
(2^11) - 1 There is a total of 12 numbers, however one of them is 0. Adding zero will not change the answer therefore we exclude it. However, when we take 0 and another number, we get the number itself. Therefore the problem can be reduced to finding, the sum of, the number of ways of selecting 1 number, 2 numbers, 3 numbers......,11 numbers out of 11 numbers provided to us to get distinct sums of these numbers. 11C1 + 11C2 + ...........+11C11 = (2^11)-1 = 2047
You still haven't proven that all of these sums are distinct. With a slight change to the problem, this method could lead to an incorrect answer.
Log in to reply
Of course that would be a problem if we had just any sequence, but the numbers given here are all in the powers of 2, as you can see just by observation, no number in the entire sequence can be obtained by the sum of all the smaller numbers before it, and you are not allowed to repeat any number. This will give us distinct sums. Lets take an example, had the numbers been 1,2,3,4, 1+2+3 = 6, and also 2+4 = 6, this is because, the sum of 1 and 3 can be replaced by the number 4, which is not a case in the given sequence. Another case is that 2+3=5, also 1+4=5, however that is because, the sum of two small numbers 2 and 3 exceeds 4, therefore there was a probability of another number existing which when added to 4 gives the same number, but it is not the case in the given sequence.
Log in to reply
Good, now you just need to add it to your proof ;)
Log in to reply
@Alan Yan – Lets just leave it at that :P I am too tired to edit the comment. By the way, glad you pointed it out. :)
Problem Loading...
Note Loading...
Set Loading...
Hmmmmmmm....... I wonder if there is something I could do to the set so I don't need to add every combination and count the number of sums.....
Wait! All of the elements are powers of two! Let me try to put it in binary.
{ 0 2 , 1 2 , 1 0 2 , 1 0 0 2 , 1 0 0 0 2 , . . . , 1 0 0 0 0 0 0 0 0 2 , 1 0 0 0 0 0 0 0 0 0 2 , 1 0 0 0 0 0 0 0 0 0 0 2 }
From here it is easy to see that I can create every number less than
1 0 0 0 0 0 0 0 0 0 0 0 2 = 2 0 4 8 by adding the elements corresponding to the base 2 representation.
Therefore there are 2 0 4 7 numbers.