answersLogoWhite

0

One method is to try what powers of 2 you can add up to give the decimal number. For example, 20 in decimal: The next-lower power of 2 is 16; the following powers of two are 8, 4, 2, 1. After subtracting 16, you see how often you can fit the next power-of-two (8); the answer is zero. The next power-of-two (4) fits once. Since nothing is left over, the next two powers-of-two (2 and 1) fit zero times. In summary, you have 1x16, 0x8, 1x4, 0x2, 0x1, which in binary reads 10100.

User Avatar

Wiki User

15y ago

What else can I help you with?