What are the required steps to convert base 10 decimal system
number 1 361 335 607 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;
- 1 361 335 607 ÷ 2 = 680 667 803 + 1;
- 680 667 803 ÷ 2 = 340 333 901 + 1;
- 340 333 901 ÷ 2 = 170 166 950 + 1;
- 170 166 950 ÷ 2 = 85 083 475 + 0;
- 85 083 475 ÷ 2 = 42 541 737 + 1;
- 42 541 737 ÷ 2 = 21 270 868 + 1;
- 21 270 868 ÷ 2 = 10 635 434 + 0;
- 10 635 434 ÷ 2 = 5 317 717 + 0;
- 5 317 717 ÷ 2 = 2 658 858 + 1;
- 2 658 858 ÷ 2 = 1 329 429 + 0;
- 1 329 429 ÷ 2 = 664 714 + 1;
- 664 714 ÷ 2 = 332 357 + 0;
- 332 357 ÷ 2 = 166 178 + 1;
- 166 178 ÷ 2 = 83 089 + 0;
- 83 089 ÷ 2 = 41 544 + 1;
- 41 544 ÷ 2 = 20 772 + 0;
- 20 772 ÷ 2 = 10 386 + 0;
- 10 386 ÷ 2 = 5 193 + 0;
- 5 193 ÷ 2 = 2 596 + 1;
- 2 596 ÷ 2 = 1 298 + 0;
- 1 298 ÷ 2 = 649 + 0;
- 649 ÷ 2 = 324 + 1;
- 324 ÷ 2 = 162 + 0;
- 162 ÷ 2 = 81 + 0;
- 81 ÷ 2 = 40 + 1;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
1 361 335 607(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 361 335 607 (base 10) = 101 0001 0010 0100 0101 0101 0011 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.