What are the required steps to convert base 10 decimal system
number 2 636 789 098 765 337 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 636 789 098 765 337 ÷ 2 = 1 318 394 549 382 668 + 1;
- 1 318 394 549 382 668 ÷ 2 = 659 197 274 691 334 + 0;
- 659 197 274 691 334 ÷ 2 = 329 598 637 345 667 + 0;
- 329 598 637 345 667 ÷ 2 = 164 799 318 672 833 + 1;
- 164 799 318 672 833 ÷ 2 = 82 399 659 336 416 + 1;
- 82 399 659 336 416 ÷ 2 = 41 199 829 668 208 + 0;
- 41 199 829 668 208 ÷ 2 = 20 599 914 834 104 + 0;
- 20 599 914 834 104 ÷ 2 = 10 299 957 417 052 + 0;
- 10 299 957 417 052 ÷ 2 = 5 149 978 708 526 + 0;
- 5 149 978 708 526 ÷ 2 = 2 574 989 354 263 + 0;
- 2 574 989 354 263 ÷ 2 = 1 287 494 677 131 + 1;
- 1 287 494 677 131 ÷ 2 = 643 747 338 565 + 1;
- 643 747 338 565 ÷ 2 = 321 873 669 282 + 1;
- 321 873 669 282 ÷ 2 = 160 936 834 641 + 0;
- 160 936 834 641 ÷ 2 = 80 468 417 320 + 1;
- 80 468 417 320 ÷ 2 = 40 234 208 660 + 0;
- 40 234 208 660 ÷ 2 = 20 117 104 330 + 0;
- 20 117 104 330 ÷ 2 = 10 058 552 165 + 0;
- 10 058 552 165 ÷ 2 = 5 029 276 082 + 1;
- 5 029 276 082 ÷ 2 = 2 514 638 041 + 0;
- 2 514 638 041 ÷ 2 = 1 257 319 020 + 1;
- 1 257 319 020 ÷ 2 = 628 659 510 + 0;
- 628 659 510 ÷ 2 = 314 329 755 + 0;
- 314 329 755 ÷ 2 = 157 164 877 + 1;
- 157 164 877 ÷ 2 = 78 582 438 + 1;
- 78 582 438 ÷ 2 = 39 291 219 + 0;
- 39 291 219 ÷ 2 = 19 645 609 + 1;
- 19 645 609 ÷ 2 = 9 822 804 + 1;
- 9 822 804 ÷ 2 = 4 911 402 + 0;
- 4 911 402 ÷ 2 = 2 455 701 + 0;
- 2 455 701 ÷ 2 = 1 227 850 + 1;
- 1 227 850 ÷ 2 = 613 925 + 0;
- 613 925 ÷ 2 = 306 962 + 1;
- 306 962 ÷ 2 = 153 481 + 0;
- 153 481 ÷ 2 = 76 740 + 1;
- 76 740 ÷ 2 = 38 370 + 0;
- 38 370 ÷ 2 = 19 185 + 0;
- 19 185 ÷ 2 = 9 592 + 1;
- 9 592 ÷ 2 = 4 796 + 0;
- 4 796 ÷ 2 = 2 398 + 0;
- 2 398 ÷ 2 = 1 199 + 0;
- 1 199 ÷ 2 = 599 + 1;
- 599 ÷ 2 = 299 + 1;
- 299 ÷ 2 = 149 + 1;
- 149 ÷ 2 = 74 + 1;
- 74 ÷ 2 = 37 + 0;
- 37 ÷ 2 = 18 + 1;
- 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.
2 636 789 098 765 337(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 636 789 098 765 337 (base 10) = 1001 0101 1110 0010 0101 0100 1101 1001 0100 0101 1100 0001 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.