What are the required steps to convert base 10 decimal system
number 270 751 952 622 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;
- 270 751 952 622 ÷ 2 = 135 375 976 311 + 0;
- 135 375 976 311 ÷ 2 = 67 687 988 155 + 1;
- 67 687 988 155 ÷ 2 = 33 843 994 077 + 1;
- 33 843 994 077 ÷ 2 = 16 921 997 038 + 1;
- 16 921 997 038 ÷ 2 = 8 460 998 519 + 0;
- 8 460 998 519 ÷ 2 = 4 230 499 259 + 1;
- 4 230 499 259 ÷ 2 = 2 115 249 629 + 1;
- 2 115 249 629 ÷ 2 = 1 057 624 814 + 1;
- 1 057 624 814 ÷ 2 = 528 812 407 + 0;
- 528 812 407 ÷ 2 = 264 406 203 + 1;
- 264 406 203 ÷ 2 = 132 203 101 + 1;
- 132 203 101 ÷ 2 = 66 101 550 + 1;
- 66 101 550 ÷ 2 = 33 050 775 + 0;
- 33 050 775 ÷ 2 = 16 525 387 + 1;
- 16 525 387 ÷ 2 = 8 262 693 + 1;
- 8 262 693 ÷ 2 = 4 131 346 + 1;
- 4 131 346 ÷ 2 = 2 065 673 + 0;
- 2 065 673 ÷ 2 = 1 032 836 + 1;
- 1 032 836 ÷ 2 = 516 418 + 0;
- 516 418 ÷ 2 = 258 209 + 0;
- 258 209 ÷ 2 = 129 104 + 1;
- 129 104 ÷ 2 = 64 552 + 0;
- 64 552 ÷ 2 = 32 276 + 0;
- 32 276 ÷ 2 = 16 138 + 0;
- 16 138 ÷ 2 = 8 069 + 0;
- 8 069 ÷ 2 = 4 034 + 1;
- 4 034 ÷ 2 = 2 017 + 0;
- 2 017 ÷ 2 = 1 008 + 1;
- 1 008 ÷ 2 = 504 + 0;
- 504 ÷ 2 = 252 + 0;
- 252 ÷ 2 = 126 + 0;
- 126 ÷ 2 = 63 + 0;
- 63 ÷ 2 = 31 + 1;
- 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.
270 751 952 622(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
270 751 952 622 (base 10) = 11 1111 0000 1010 0001 0010 1110 1110 1110 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.