We'll take this way too far

Logic Level 3

2 0 2 1 2 2 2 1337 = A 2^0 \, \square \, 2^1 \, \square \, 2^2 \, \square \, \ldots \, \square \, 2^{1337} = A

There are 2 1337 2^{1337} ways in which we can fill the squares with + , +, - . Let B B denote the number of positive integer value of A A such that there exist a solution for the equation above. Find the value of log 2 B \log_2 B .


The answer is 1336.

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

Pranshu Gaba
Aug 20, 2015

The important thing here is to notice that

2 0 + 2 1 + 2 2 + + 2 1336 = 2 1337 1 < 2 1337 2^ 0 + 2^1 + 2^2 + \ldots + 2^{1336} = 2^{1337} -1 < 2^{1337}

This means that if the rightmost square is + + , then A A will be positive irrespective of how other squares are filled. This is because, even in the worst case scenario, A = 2 1337 2 0 2 1 2 2 2 1336 A = 2^{1337} - 2^0 - 2^1 - 2^2 - \ldots - 2^{1336} is positive. Each of the 1336 1336 squares can be either + + or - , so using the rule of product, it can be done in 2 1336 2^{1336} ways.

Similarly, if the rightmost square was negative, then A A would always be negative, even if the first 1336 1336 squares were + + . In this case we have no solution.

We get B = 2 1336 B = 2^{1336} , so log 2 B = 1336 \log _{2} B = \boxed{1336} _\square

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...