What are the required steps to convert base 10 decimal system
number 4 286 578 949 to base 2 unsigned binary equivalent?
- A number written in base ten, or a decimal system number, is a number written using the digits 0 through 9. A number written in base two, or a binary system number, is a number written using only the digits 0 and 1.
1. Divide the number repeatedly by 2:
Keep track of each remainder.
Stop when you get a quotient that is equal to zero.
- division = quotient + remainder;
- 4 286 578 949 ÷ 2 = 2 143 289 474 + 1;
- 2 143 289 474 ÷ 2 = 1 071 644 737 + 0;
- 1 071 644 737 ÷ 2 = 535 822 368 + 1;
- 535 822 368 ÷ 2 = 267 911 184 + 0;
- 267 911 184 ÷ 2 = 133 955 592 + 0;
- 133 955 592 ÷ 2 = 66 977 796 + 0;
- 66 977 796 ÷ 2 = 33 488 898 + 0;
- 33 488 898 ÷ 2 = 16 744 449 + 0;
- 16 744 449 ÷ 2 = 8 372 224 + 1;
- 8 372 224 ÷ 2 = 4 186 112 + 0;
- 4 186 112 ÷ 2 = 2 093 056 + 0;
- 2 093 056 ÷ 2 = 1 046 528 + 0;
- 1 046 528 ÷ 2 = 523 264 + 0;
- 523 264 ÷ 2 = 261 632 + 0;
- 261 632 ÷ 2 = 130 816 + 0;
- 130 816 ÷ 2 = 65 408 + 0;
- 65 408 ÷ 2 = 32 704 + 0;
- 32 704 ÷ 2 = 16 352 + 0;
- 16 352 ÷ 2 = 8 176 + 0;
- 8 176 ÷ 2 = 4 088 + 0;
- 4 088 ÷ 2 = 2 044 + 0;
- 2 044 ÷ 2 = 1 022 + 0;
- 1 022 ÷ 2 = 511 + 0;
- 511 ÷ 2 = 255 + 1;
- 255 ÷ 2 = 127 + 1;
- 127 ÷ 2 = 63 + 1;
- 63 ÷ 2 = 31 + 1;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 1 ÷ 2 = 0 + 1;
2. Construct the base 2 representation of the positive number:
Take all the remainders starting from the bottom of the list constructed above.
4 286 578 949(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 286 578 949 (base 10) = 1111 1111 1000 0000 0000 0001 0000 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.