What are the required steps to convert base 10 decimal system
number 9 906 848 363 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;
- 9 906 848 363 ÷ 2 = 4 953 424 181 + 1;
- 4 953 424 181 ÷ 2 = 2 476 712 090 + 1;
- 2 476 712 090 ÷ 2 = 1 238 356 045 + 0;
- 1 238 356 045 ÷ 2 = 619 178 022 + 1;
- 619 178 022 ÷ 2 = 309 589 011 + 0;
- 309 589 011 ÷ 2 = 154 794 505 + 1;
- 154 794 505 ÷ 2 = 77 397 252 + 1;
- 77 397 252 ÷ 2 = 38 698 626 + 0;
- 38 698 626 ÷ 2 = 19 349 313 + 0;
- 19 349 313 ÷ 2 = 9 674 656 + 1;
- 9 674 656 ÷ 2 = 4 837 328 + 0;
- 4 837 328 ÷ 2 = 2 418 664 + 0;
- 2 418 664 ÷ 2 = 1 209 332 + 0;
- 1 209 332 ÷ 2 = 604 666 + 0;
- 604 666 ÷ 2 = 302 333 + 0;
- 302 333 ÷ 2 = 151 166 + 1;
- 151 166 ÷ 2 = 75 583 + 0;
- 75 583 ÷ 2 = 37 791 + 1;
- 37 791 ÷ 2 = 18 895 + 1;
- 18 895 ÷ 2 = 9 447 + 1;
- 9 447 ÷ 2 = 4 723 + 1;
- 4 723 ÷ 2 = 2 361 + 1;
- 2 361 ÷ 2 = 1 180 + 1;
- 1 180 ÷ 2 = 590 + 0;
- 590 ÷ 2 = 295 + 0;
- 295 ÷ 2 = 147 + 1;
- 147 ÷ 2 = 73 + 1;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 4 ÷ 2 = 2 + 0;
- 2 ÷ 2 = 1 + 0;
- 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.
9 906 848 363(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 906 848 363 (base 10) = 10 0100 1110 0111 1110 1000 0010 0110 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.