What are the required steps to convert base 10 decimal system
number 2 981 122 226 698 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;
- 2 981 122 226 698 ÷ 2 = 1 490 561 113 349 + 0;
- 1 490 561 113 349 ÷ 2 = 745 280 556 674 + 1;
- 745 280 556 674 ÷ 2 = 372 640 278 337 + 0;
- 372 640 278 337 ÷ 2 = 186 320 139 168 + 1;
- 186 320 139 168 ÷ 2 = 93 160 069 584 + 0;
- 93 160 069 584 ÷ 2 = 46 580 034 792 + 0;
- 46 580 034 792 ÷ 2 = 23 290 017 396 + 0;
- 23 290 017 396 ÷ 2 = 11 645 008 698 + 0;
- 11 645 008 698 ÷ 2 = 5 822 504 349 + 0;
- 5 822 504 349 ÷ 2 = 2 911 252 174 + 1;
- 2 911 252 174 ÷ 2 = 1 455 626 087 + 0;
- 1 455 626 087 ÷ 2 = 727 813 043 + 1;
- 727 813 043 ÷ 2 = 363 906 521 + 1;
- 363 906 521 ÷ 2 = 181 953 260 + 1;
- 181 953 260 ÷ 2 = 90 976 630 + 0;
- 90 976 630 ÷ 2 = 45 488 315 + 0;
- 45 488 315 ÷ 2 = 22 744 157 + 1;
- 22 744 157 ÷ 2 = 11 372 078 + 1;
- 11 372 078 ÷ 2 = 5 686 039 + 0;
- 5 686 039 ÷ 2 = 2 843 019 + 1;
- 2 843 019 ÷ 2 = 1 421 509 + 1;
- 1 421 509 ÷ 2 = 710 754 + 1;
- 710 754 ÷ 2 = 355 377 + 0;
- 355 377 ÷ 2 = 177 688 + 1;
- 177 688 ÷ 2 = 88 844 + 0;
- 88 844 ÷ 2 = 44 422 + 0;
- 44 422 ÷ 2 = 22 211 + 0;
- 22 211 ÷ 2 = 11 105 + 1;
- 11 105 ÷ 2 = 5 552 + 1;
- 5 552 ÷ 2 = 2 776 + 0;
- 2 776 ÷ 2 = 1 388 + 0;
- 1 388 ÷ 2 = 694 + 0;
- 694 ÷ 2 = 347 + 0;
- 347 ÷ 2 = 173 + 1;
- 173 ÷ 2 = 86 + 1;
- 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.
2 981 122 226 698(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 981 122 226 698 (base 10) = 10 1011 0110 0001 1000 1011 1011 0011 1010 0000 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.