What are the required steps to convert base 10 decimal system
number 1 478 963 171 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 478 963 171 ÷ 2 = 739 481 585 + 1;
- 739 481 585 ÷ 2 = 369 740 792 + 1;
- 369 740 792 ÷ 2 = 184 870 396 + 0;
- 184 870 396 ÷ 2 = 92 435 198 + 0;
- 92 435 198 ÷ 2 = 46 217 599 + 0;
- 46 217 599 ÷ 2 = 23 108 799 + 1;
- 23 108 799 ÷ 2 = 11 554 399 + 1;
- 11 554 399 ÷ 2 = 5 777 199 + 1;
- 5 777 199 ÷ 2 = 2 888 599 + 1;
- 2 888 599 ÷ 2 = 1 444 299 + 1;
- 1 444 299 ÷ 2 = 722 149 + 1;
- 722 149 ÷ 2 = 361 074 + 1;
- 361 074 ÷ 2 = 180 537 + 0;
- 180 537 ÷ 2 = 90 268 + 1;
- 90 268 ÷ 2 = 45 134 + 0;
- 45 134 ÷ 2 = 22 567 + 0;
- 22 567 ÷ 2 = 11 283 + 1;
- 11 283 ÷ 2 = 5 641 + 1;
- 5 641 ÷ 2 = 2 820 + 1;
- 2 820 ÷ 2 = 1 410 + 0;
- 1 410 ÷ 2 = 705 + 0;
- 705 ÷ 2 = 352 + 1;
- 352 ÷ 2 = 176 + 0;
- 176 ÷ 2 = 88 + 0;
- 88 ÷ 2 = 44 + 0;
- 44 ÷ 2 = 22 + 0;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
1 478 963 171(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 478 963 171 (base 10) = 101 1000 0010 0111 0010 1111 1110 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.