What are the required steps to convert base 10 decimal system
number 141 592 653 590 450 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;
- 141 592 653 590 450 ÷ 2 = 70 796 326 795 225 + 0;
- 70 796 326 795 225 ÷ 2 = 35 398 163 397 612 + 1;
- 35 398 163 397 612 ÷ 2 = 17 699 081 698 806 + 0;
- 17 699 081 698 806 ÷ 2 = 8 849 540 849 403 + 0;
- 8 849 540 849 403 ÷ 2 = 4 424 770 424 701 + 1;
- 4 424 770 424 701 ÷ 2 = 2 212 385 212 350 + 1;
- 2 212 385 212 350 ÷ 2 = 1 106 192 606 175 + 0;
- 1 106 192 606 175 ÷ 2 = 553 096 303 087 + 1;
- 553 096 303 087 ÷ 2 = 276 548 151 543 + 1;
- 276 548 151 543 ÷ 2 = 138 274 075 771 + 1;
- 138 274 075 771 ÷ 2 = 69 137 037 885 + 1;
- 69 137 037 885 ÷ 2 = 34 568 518 942 + 1;
- 34 568 518 942 ÷ 2 = 17 284 259 471 + 0;
- 17 284 259 471 ÷ 2 = 8 642 129 735 + 1;
- 8 642 129 735 ÷ 2 = 4 321 064 867 + 1;
- 4 321 064 867 ÷ 2 = 2 160 532 433 + 1;
- 2 160 532 433 ÷ 2 = 1 080 266 216 + 1;
- 1 080 266 216 ÷ 2 = 540 133 108 + 0;
- 540 133 108 ÷ 2 = 270 066 554 + 0;
- 270 066 554 ÷ 2 = 135 033 277 + 0;
- 135 033 277 ÷ 2 = 67 516 638 + 1;
- 67 516 638 ÷ 2 = 33 758 319 + 0;
- 33 758 319 ÷ 2 = 16 879 159 + 1;
- 16 879 159 ÷ 2 = 8 439 579 + 1;
- 8 439 579 ÷ 2 = 4 219 789 + 1;
- 4 219 789 ÷ 2 = 2 109 894 + 1;
- 2 109 894 ÷ 2 = 1 054 947 + 0;
- 1 054 947 ÷ 2 = 527 473 + 1;
- 527 473 ÷ 2 = 263 736 + 1;
- 263 736 ÷ 2 = 131 868 + 0;
- 131 868 ÷ 2 = 65 934 + 0;
- 65 934 ÷ 2 = 32 967 + 0;
- 32 967 ÷ 2 = 16 483 + 1;
- 16 483 ÷ 2 = 8 241 + 1;
- 8 241 ÷ 2 = 4 120 + 1;
- 4 120 ÷ 2 = 2 060 + 0;
- 2 060 ÷ 2 = 1 030 + 0;
- 1 030 ÷ 2 = 515 + 0;
- 515 ÷ 2 = 257 + 1;
- 257 ÷ 2 = 128 + 1;
- 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.
141 592 653 590 450(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
141 592 653 590 450 (base 10) = 1000 0000 1100 0111 0001 1011 1101 0001 1110 1111 1011 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.