What are the required steps to convert base 10 decimal system
number 1 124 545 454 111 526 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;
- 1 124 545 454 111 526 ÷ 2 = 562 272 727 055 763 + 0;
- 562 272 727 055 763 ÷ 2 = 281 136 363 527 881 + 1;
- 281 136 363 527 881 ÷ 2 = 140 568 181 763 940 + 1;
- 140 568 181 763 940 ÷ 2 = 70 284 090 881 970 + 0;
- 70 284 090 881 970 ÷ 2 = 35 142 045 440 985 + 0;
- 35 142 045 440 985 ÷ 2 = 17 571 022 720 492 + 1;
- 17 571 022 720 492 ÷ 2 = 8 785 511 360 246 + 0;
- 8 785 511 360 246 ÷ 2 = 4 392 755 680 123 + 0;
- 4 392 755 680 123 ÷ 2 = 2 196 377 840 061 + 1;
- 2 196 377 840 061 ÷ 2 = 1 098 188 920 030 + 1;
- 1 098 188 920 030 ÷ 2 = 549 094 460 015 + 0;
- 549 094 460 015 ÷ 2 = 274 547 230 007 + 1;
- 274 547 230 007 ÷ 2 = 137 273 615 003 + 1;
- 137 273 615 003 ÷ 2 = 68 636 807 501 + 1;
- 68 636 807 501 ÷ 2 = 34 318 403 750 + 1;
- 34 318 403 750 ÷ 2 = 17 159 201 875 + 0;
- 17 159 201 875 ÷ 2 = 8 579 600 937 + 1;
- 8 579 600 937 ÷ 2 = 4 289 800 468 + 1;
- 4 289 800 468 ÷ 2 = 2 144 900 234 + 0;
- 2 144 900 234 ÷ 2 = 1 072 450 117 + 0;
- 1 072 450 117 ÷ 2 = 536 225 058 + 1;
- 536 225 058 ÷ 2 = 268 112 529 + 0;
- 268 112 529 ÷ 2 = 134 056 264 + 1;
- 134 056 264 ÷ 2 = 67 028 132 + 0;
- 67 028 132 ÷ 2 = 33 514 066 + 0;
- 33 514 066 ÷ 2 = 16 757 033 + 0;
- 16 757 033 ÷ 2 = 8 378 516 + 1;
- 8 378 516 ÷ 2 = 4 189 258 + 0;
- 4 189 258 ÷ 2 = 2 094 629 + 0;
- 2 094 629 ÷ 2 = 1 047 314 + 1;
- 1 047 314 ÷ 2 = 523 657 + 0;
- 523 657 ÷ 2 = 261 828 + 1;
- 261 828 ÷ 2 = 130 914 + 0;
- 130 914 ÷ 2 = 65 457 + 0;
- 65 457 ÷ 2 = 32 728 + 1;
- 32 728 ÷ 2 = 16 364 + 0;
- 16 364 ÷ 2 = 8 182 + 0;
- 8 182 ÷ 2 = 4 091 + 0;
- 4 091 ÷ 2 = 2 045 + 1;
- 2 045 ÷ 2 = 1 022 + 1;
- 1 022 ÷ 2 = 511 + 0;
- 511 ÷ 2 = 255 + 1;
- 255 ÷ 2 = 127 + 1;
- 127 ÷ 2 = 63 + 1;
- 63 ÷ 2 = 31 + 1;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
1 124 545 454 111 526(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 124 545 454 111 526 (base 10) = 11 1111 1110 1100 0100 1010 0100 0101 0011 0111 1011 0010 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.