What are the required steps to convert base 10 decimal system
number 420 413 144 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;
- 420 413 144 ÷ 2 = 210 206 572 + 0;
- 210 206 572 ÷ 2 = 105 103 286 + 0;
- 105 103 286 ÷ 2 = 52 551 643 + 0;
- 52 551 643 ÷ 2 = 26 275 821 + 1;
- 26 275 821 ÷ 2 = 13 137 910 + 1;
- 13 137 910 ÷ 2 = 6 568 955 + 0;
- 6 568 955 ÷ 2 = 3 284 477 + 1;
- 3 284 477 ÷ 2 = 1 642 238 + 1;
- 1 642 238 ÷ 2 = 821 119 + 0;
- 821 119 ÷ 2 = 410 559 + 1;
- 410 559 ÷ 2 = 205 279 + 1;
- 205 279 ÷ 2 = 102 639 + 1;
- 102 639 ÷ 2 = 51 319 + 1;
- 51 319 ÷ 2 = 25 659 + 1;
- 25 659 ÷ 2 = 12 829 + 1;
- 12 829 ÷ 2 = 6 414 + 1;
- 6 414 ÷ 2 = 3 207 + 0;
- 3 207 ÷ 2 = 1 603 + 1;
- 1 603 ÷ 2 = 801 + 1;
- 801 ÷ 2 = 400 + 1;
- 400 ÷ 2 = 200 + 0;
- 200 ÷ 2 = 100 + 0;
- 100 ÷ 2 = 50 + 0;
- 50 ÷ 2 = 25 + 0;
- 25 ÷ 2 = 12 + 1;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 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.
420 413 144(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
420 413 144 (base 10) = 1 1001 0000 1110 1111 1110 1101 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.