What are the required steps to convert base 10 decimal system
number 4 584 045 232 446 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 232 446 ÷ 2 = 2 292 022 616 223 + 0;
- 2 292 022 616 223 ÷ 2 = 1 146 011 308 111 + 1;
- 1 146 011 308 111 ÷ 2 = 573 005 654 055 + 1;
- 573 005 654 055 ÷ 2 = 286 502 827 027 + 1;
- 286 502 827 027 ÷ 2 = 143 251 413 513 + 1;
- 143 251 413 513 ÷ 2 = 71 625 706 756 + 1;
- 71 625 706 756 ÷ 2 = 35 812 853 378 + 0;
- 35 812 853 378 ÷ 2 = 17 906 426 689 + 0;
- 17 906 426 689 ÷ 2 = 8 953 213 344 + 1;
- 8 953 213 344 ÷ 2 = 4 476 606 672 + 0;
- 4 476 606 672 ÷ 2 = 2 238 303 336 + 0;
- 2 238 303 336 ÷ 2 = 1 119 151 668 + 0;
- 1 119 151 668 ÷ 2 = 559 575 834 + 0;
- 559 575 834 ÷ 2 = 279 787 917 + 0;
- 279 787 917 ÷ 2 = 139 893 958 + 1;
- 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 232 446(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 584 045 232 446 (base 10) = 100 0010 1011 0100 1110 0110 0011 0100 0001 0011 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.