What are the required steps to convert base 10 decimal system
number 18 061 681 445 161 935 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;
- 18 061 681 445 161 935 ÷ 2 = 9 030 840 722 580 967 + 1;
- 9 030 840 722 580 967 ÷ 2 = 4 515 420 361 290 483 + 1;
- 4 515 420 361 290 483 ÷ 2 = 2 257 710 180 645 241 + 1;
- 2 257 710 180 645 241 ÷ 2 = 1 128 855 090 322 620 + 1;
- 1 128 855 090 322 620 ÷ 2 = 564 427 545 161 310 + 0;
- 564 427 545 161 310 ÷ 2 = 282 213 772 580 655 + 0;
- 282 213 772 580 655 ÷ 2 = 141 106 886 290 327 + 1;
- 141 106 886 290 327 ÷ 2 = 70 553 443 145 163 + 1;
- 70 553 443 145 163 ÷ 2 = 35 276 721 572 581 + 1;
- 35 276 721 572 581 ÷ 2 = 17 638 360 786 290 + 1;
- 17 638 360 786 290 ÷ 2 = 8 819 180 393 145 + 0;
- 8 819 180 393 145 ÷ 2 = 4 409 590 196 572 + 1;
- 4 409 590 196 572 ÷ 2 = 2 204 795 098 286 + 0;
- 2 204 795 098 286 ÷ 2 = 1 102 397 549 143 + 0;
- 1 102 397 549 143 ÷ 2 = 551 198 774 571 + 1;
- 551 198 774 571 ÷ 2 = 275 599 387 285 + 1;
- 275 599 387 285 ÷ 2 = 137 799 693 642 + 1;
- 137 799 693 642 ÷ 2 = 68 899 846 821 + 0;
- 68 899 846 821 ÷ 2 = 34 449 923 410 + 1;
- 34 449 923 410 ÷ 2 = 17 224 961 705 + 0;
- 17 224 961 705 ÷ 2 = 8 612 480 852 + 1;
- 8 612 480 852 ÷ 2 = 4 306 240 426 + 0;
- 4 306 240 426 ÷ 2 = 2 153 120 213 + 0;
- 2 153 120 213 ÷ 2 = 1 076 560 106 + 1;
- 1 076 560 106 ÷ 2 = 538 280 053 + 0;
- 538 280 053 ÷ 2 = 269 140 026 + 1;
- 269 140 026 ÷ 2 = 134 570 013 + 0;
- 134 570 013 ÷ 2 = 67 285 006 + 1;
- 67 285 006 ÷ 2 = 33 642 503 + 0;
- 33 642 503 ÷ 2 = 16 821 251 + 1;
- 16 821 251 ÷ 2 = 8 410 625 + 1;
- 8 410 625 ÷ 2 = 4 205 312 + 1;
- 4 205 312 ÷ 2 = 2 102 656 + 0;
- 2 102 656 ÷ 2 = 1 051 328 + 0;
- 1 051 328 ÷ 2 = 525 664 + 0;
- 525 664 ÷ 2 = 262 832 + 0;
- 262 832 ÷ 2 = 131 416 + 0;
- 131 416 ÷ 2 = 65 708 + 0;
- 65 708 ÷ 2 = 32 854 + 0;
- 32 854 ÷ 2 = 16 427 + 0;
- 16 427 ÷ 2 = 8 213 + 1;
- 8 213 ÷ 2 = 4 106 + 1;
- 4 106 ÷ 2 = 2 053 + 0;
- 2 053 ÷ 2 = 1 026 + 1;
- 1 026 ÷ 2 = 513 + 0;
- 513 ÷ 2 = 256 + 1;
- 256 ÷ 2 = 128 + 0;
- 128 ÷ 2 = 64 + 0;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 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.
18 061 681 445 161 935(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
18 061 681 445 161 935 (base 10) = 100 0000 0010 1011 0000 0000 1110 1010 1001 0101 1100 1011 1100 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.