Bad Decision

When I told my father that one day I wanted to be so rich that I had 10000 dollars. He laughed and gave me $10000 dollars and some envelopes, he said that if I could sort the money such that I could give him one or more of the envelopes and it would total the sum of money he asked for, I could have his $10000. Unfortunately for him, I was able to sort the money this way. What is the least amount of envelopes that my father could have given me?


The answer is 14.

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.

1 solution

Jacob Kirmayer
Jun 8, 2019

For every envelope there are two options, either I give it to my father or I do not, so it is best to think of this problem in binary. Therefore the amount in each envelope should be a power of 2. Let the highest power of 2 among the envelopes be n. Then the sum of giving all of the envelopes we have created so far will be 2 n + 1 1 2 1 \frac{2^{n+1} - 1}{2 -1} . We need to find the highest power of 2 where 10000 ( 2 n + 1 1 ) 10000- (2^{n+1} - 1) can be written in binary with less than n + 1 digits. We create the inequality 2 n + 1 1 > 10000 2 n + 1 2^{n+1} - 1 > 10000 - 2^{n+1} Solving this:
2 n + 1 1 > 10000 2 n + 1 2^{n+1} - 1 > 10000 - 2^{n+1}
2 n + 2 > 10001 2^{n+2} > 10001
Considering that n is an integer it must be 12 and 2 14 = 16384 2^{14} = 16384 . So now we have 13 envelopes for 2 0 2^0 to 2 12 2^{12} and and additional envelope for the remaining amount makes 14


Sir, can you please post a solution for this: https://brilliant.org/problems/confusing-question-no-way-out/

Jake Tricole - 2 years ago

Log in to reply

sure ill have it done when i have time

Jacob Kirmayer - 2 years ago

Log in to reply

Thanks a lot... please do it soon (I just don't like getting stuck in a question for a very long time)

Jake Tricole - 2 years ago

Log in to reply

@Jake Tricole just wondering how much calc u know because i might use some very basic in the solution

Jacob Kirmayer - 2 years ago

Log in to reply

@Jacob Kirmayer I know almost as much as gr 12 calc...

Jake Tricole - 2 years ago

Log in to reply

@Jake Tricole just give me 5 mins to type it up

Jacob Kirmayer - 2 years ago

Log in to reply

@Jacob Kirmayer did you also get 32.125 and it rejected it?

Jacob Kirmayer - 2 years ago

Log in to reply

@Jacob Kirmayer nvm got the answer

Jacob Kirmayer - 2 years ago

maybe 10 mins at most

Jacob Kirmayer - 2 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...