I am looking for a positive integer , which is smaller than 2000, such that: in decimal form gives no zeroes in binary form.
What is ?
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.
If a number has no zeros in binary, it must be of the form 2 n − 1 . Thus, 2 0 1 8 + X must be a power of 2 . Since X is positive, we are looking for a power of two greater than 2 0 1 8 . One candidate is 2 0 4 8 , in which case X = 3 0 . The next candidate is 4 0 9 6 , which would mean that X = 2 0 7 8 , which is too large. Thus X = 3 0 .