Decimal to Binary Form

I am looking for a positive integer X X , which is smaller than 2000, such that: ( 2018 + X ) 2 1 (2018 + X)^2 - 1 in decimal form gives no zeroes in binary form.

What is X X ?

480 60 960 1920 30 240 15 120

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

Jordan Cahn
Oct 27, 2018

If a number has no zeros in binary, it must be of the form 2 n 1 2^n-1 . Thus, 2018 + X 2018+X must be a power of 2 2 . Since X X is positive, we are looking for a power of two greater than 2018 2018 . One candidate is 2048 2048 , in which case X = 30 X=30 . The next candidate is 4096 4096 , which would mean that X = 2078 X=2078 , which is too large. Thus X = 30 X=\boxed{30} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...