Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To express 2010 in base 2, we use exactly 8 ones and 3 zeros. Find the next two integers in base 2 that use the same number of ones and zeros.

share|cite|improve this question
First check to see if the claim about 2010 is correct by converting it to base 2. The straightforward and obvious thing to do next is to try counting forward from 2010, in base 2, and see if you find the numbers you seek. If that didn't work, or if you don't know how to do it, perhaps you should try explaining your difficulty and asking for more specific help. – MJD Dec 16 '12 at 2:17

If you convert 2010 to base 2, you get 11111011010.

Can you see of a method to increase the number while maintaining the same number of ones and zeros?

Hint, leave the upper 5-msb's alone and play with the lower 6 to keep the number of 1's and 0's the same. You want the next higher numbers. Does that make sense?

Regards -A

share|cite|improve this answer

The next number is $2012_{10}=11111011100_2$. Because $2010_{10}=11111011010_2$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.