What are the required steps to convert base 10 decimal system
number 4 584 045 231 842 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;
- 4 584 045 231 842 ÷ 2 = 2 292 022 615 921 + 0;
- 2 292 022 615 921 ÷ 2 = 1 146 011 307 960 + 1;
- 1 146 011 307 960 ÷ 2 = 573 005 653 980 + 0;
- 573 005 653 980 ÷ 2 = 286 502 826 990 + 0;
- 286 502 826 990 ÷ 2 = 143 251 413 495 + 0;
- 143 251 413 495 ÷ 2 = 71 625 706 747 + 1;
- 71 625 706 747 ÷ 2 = 35 812 853 373 + 1;
- 35 812 853 373 ÷ 2 = 17 906 426 686 + 1;
- 17 906 426 686 ÷ 2 = 8 953 213 343 + 0;
- 8 953 213 343 ÷ 2 = 4 476 606 671 + 1;
- 4 476 606 671 ÷ 2 = 2 238 303 335 + 1;
- 2 238 303 335 ÷ 2 = 1 119 151 667 + 1;
- 1 119 151 667 ÷ 2 = 559 575 833 + 1;
- 559 575 833 ÷ 2 = 279 787 916 + 1;
- 279 787 916 ÷ 2 = 139 893 958 + 0;
- 139 893 958 ÷ 2 = 69 946 979 + 0;
- 69 946 979 ÷ 2 = 34 973 489 + 1;
- 34 973 489 ÷ 2 = 17 486 744 + 1;
- 17 486 744 ÷ 2 = 8 743 372 + 0;
- 8 743 372 ÷ 2 = 4 371 686 + 0;
- 4 371 686 ÷ 2 = 2 185 843 + 0;
- 2 185 843 ÷ 2 = 1 092 921 + 1;
- 1 092 921 ÷ 2 = 546 460 + 1;
- 546 460 ÷ 2 = 273 230 + 0;
- 273 230 ÷ 2 = 136 615 + 0;
- 136 615 ÷ 2 = 68 307 + 1;
- 68 307 ÷ 2 = 34 153 + 1;
- 34 153 ÷ 2 = 17 076 + 1;
- 17 076 ÷ 2 = 8 538 + 0;
- 8 538 ÷ 2 = 4 269 + 0;
- 4 269 ÷ 2 = 2 134 + 1;
- 2 134 ÷ 2 = 1 067 + 0;
- 1 067 ÷ 2 = 533 + 1;
- 533 ÷ 2 = 266 + 1;
- 266 ÷ 2 = 133 + 0;
- 133 ÷ 2 = 66 + 1;
- 66 ÷ 2 = 33 + 0;
- 33 ÷ 2 = 16 + 1;
- 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.
4 584 045 231 842(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 584 045 231 842 (base 10) = 100 0010 1011 0100 1110 0110 0011 0011 1110 1110 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.