What are the required steps to convert base 10 decimal system
number 23 134 343 618 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;
- 23 134 343 618 ÷ 2 = 11 567 171 809 + 0;
- 11 567 171 809 ÷ 2 = 5 783 585 904 + 1;
- 5 783 585 904 ÷ 2 = 2 891 792 952 + 0;
- 2 891 792 952 ÷ 2 = 1 445 896 476 + 0;
- 1 445 896 476 ÷ 2 = 722 948 238 + 0;
- 722 948 238 ÷ 2 = 361 474 119 + 0;
- 361 474 119 ÷ 2 = 180 737 059 + 1;
- 180 737 059 ÷ 2 = 90 368 529 + 1;
- 90 368 529 ÷ 2 = 45 184 264 + 1;
- 45 184 264 ÷ 2 = 22 592 132 + 0;
- 22 592 132 ÷ 2 = 11 296 066 + 0;
- 11 296 066 ÷ 2 = 5 648 033 + 0;
- 5 648 033 ÷ 2 = 2 824 016 + 1;
- 2 824 016 ÷ 2 = 1 412 008 + 0;
- 1 412 008 ÷ 2 = 706 004 + 0;
- 706 004 ÷ 2 = 353 002 + 0;
- 353 002 ÷ 2 = 176 501 + 0;
- 176 501 ÷ 2 = 88 250 + 1;
- 88 250 ÷ 2 = 44 125 + 0;
- 44 125 ÷ 2 = 22 062 + 1;
- 22 062 ÷ 2 = 11 031 + 0;
- 11 031 ÷ 2 = 5 515 + 1;
- 5 515 ÷ 2 = 2 757 + 1;
- 2 757 ÷ 2 = 1 378 + 1;
- 1 378 ÷ 2 = 689 + 0;
- 689 ÷ 2 = 344 + 1;
- 344 ÷ 2 = 172 + 0;
- 172 ÷ 2 = 86 + 0;
- 86 ÷ 2 = 43 + 0;
- 43 ÷ 2 = 21 + 1;
- 21 ÷ 2 = 10 + 1;
- 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.
23 134 343 618(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
23 134 343 618 (base 10) = 101 0110 0010 1110 1010 0001 0001 1100 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.