What are the required steps to convert base 10 decimal system
number 33 333 333 321 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;
- 33 333 333 321 ÷ 2 = 16 666 666 660 + 1;
- 16 666 666 660 ÷ 2 = 8 333 333 330 + 0;
- 8 333 333 330 ÷ 2 = 4 166 666 665 + 0;
- 4 166 666 665 ÷ 2 = 2 083 333 332 + 1;
- 2 083 333 332 ÷ 2 = 1 041 666 666 + 0;
- 1 041 666 666 ÷ 2 = 520 833 333 + 0;
- 520 833 333 ÷ 2 = 260 416 666 + 1;
- 260 416 666 ÷ 2 = 130 208 333 + 0;
- 130 208 333 ÷ 2 = 65 104 166 + 1;
- 65 104 166 ÷ 2 = 32 552 083 + 0;
- 32 552 083 ÷ 2 = 16 276 041 + 1;
- 16 276 041 ÷ 2 = 8 138 020 + 1;
- 8 138 020 ÷ 2 = 4 069 010 + 0;
- 4 069 010 ÷ 2 = 2 034 505 + 0;
- 2 034 505 ÷ 2 = 1 017 252 + 1;
- 1 017 252 ÷ 2 = 508 626 + 0;
- 508 626 ÷ 2 = 254 313 + 0;
- 254 313 ÷ 2 = 127 156 + 1;
- 127 156 ÷ 2 = 63 578 + 0;
- 63 578 ÷ 2 = 31 789 + 0;
- 31 789 ÷ 2 = 15 894 + 1;
- 15 894 ÷ 2 = 7 947 + 0;
- 7 947 ÷ 2 = 3 973 + 1;
- 3 973 ÷ 2 = 1 986 + 1;
- 1 986 ÷ 2 = 993 + 0;
- 993 ÷ 2 = 496 + 1;
- 496 ÷ 2 = 248 + 0;
- 248 ÷ 2 = 124 + 0;
- 124 ÷ 2 = 62 + 0;
- 62 ÷ 2 = 31 + 0;
- 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.
33 333 333 321(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
33 333 333 321 (base 10) = 111 1100 0010 1101 0010 0100 1101 0100 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.