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.
Tell me more
×
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.
|
|
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 |
|||
|
|
|
The next number is $2012_{10}=11111011100_2$. Because $2010_{10}=11111011010_2$. |
|||
|
|

