What are the required steps to convert base 10 decimal system
number 10 101 010 101 941 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;
- 10 101 010 101 941 ÷ 2 = 5 050 505 050 970 + 1;
- 5 050 505 050 970 ÷ 2 = 2 525 252 525 485 + 0;
- 2 525 252 525 485 ÷ 2 = 1 262 626 262 742 + 1;
- 1 262 626 262 742 ÷ 2 = 631 313 131 371 + 0;
- 631 313 131 371 ÷ 2 = 315 656 565 685 + 1;
- 315 656 565 685 ÷ 2 = 157 828 282 842 + 1;
- 157 828 282 842 ÷ 2 = 78 914 141 421 + 0;
- 78 914 141 421 ÷ 2 = 39 457 070 710 + 1;
- 39 457 070 710 ÷ 2 = 19 728 535 355 + 0;
- 19 728 535 355 ÷ 2 = 9 864 267 677 + 1;
- 9 864 267 677 ÷ 2 = 4 932 133 838 + 1;
- 4 932 133 838 ÷ 2 = 2 466 066 919 + 0;
- 2 466 066 919 ÷ 2 = 1 233 033 459 + 1;
- 1 233 033 459 ÷ 2 = 616 516 729 + 1;
- 616 516 729 ÷ 2 = 308 258 364 + 1;
- 308 258 364 ÷ 2 = 154 129 182 + 0;
- 154 129 182 ÷ 2 = 77 064 591 + 0;
- 77 064 591 ÷ 2 = 38 532 295 + 1;
- 38 532 295 ÷ 2 = 19 266 147 + 1;
- 19 266 147 ÷ 2 = 9 633 073 + 1;
- 9 633 073 ÷ 2 = 4 816 536 + 1;
- 4 816 536 ÷ 2 = 2 408 268 + 0;
- 2 408 268 ÷ 2 = 1 204 134 + 0;
- 1 204 134 ÷ 2 = 602 067 + 0;
- 602 067 ÷ 2 = 301 033 + 1;
- 301 033 ÷ 2 = 150 516 + 1;
- 150 516 ÷ 2 = 75 258 + 0;
- 75 258 ÷ 2 = 37 629 + 0;
- 37 629 ÷ 2 = 18 814 + 1;
- 18 814 ÷ 2 = 9 407 + 0;
- 9 407 ÷ 2 = 4 703 + 1;
- 4 703 ÷ 2 = 2 351 + 1;
- 2 351 ÷ 2 = 1 175 + 1;
- 1 175 ÷ 2 = 587 + 1;
- 587 ÷ 2 = 293 + 1;
- 293 ÷ 2 = 146 + 1;
- 146 ÷ 2 = 73 + 0;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
10 101 010 101 941(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
10 101 010 101 941 (base 10) = 1001 0010 1111 1101 0011 0001 1110 0111 0110 1011 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.