What are the required steps to convert base 10 decimal system
number 1 970 824 159 985 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 970 824 159 985 ÷ 2 = 985 412 079 992 + 1;
- 985 412 079 992 ÷ 2 = 492 706 039 996 + 0;
- 492 706 039 996 ÷ 2 = 246 353 019 998 + 0;
- 246 353 019 998 ÷ 2 = 123 176 509 999 + 0;
- 123 176 509 999 ÷ 2 = 61 588 254 999 + 1;
- 61 588 254 999 ÷ 2 = 30 794 127 499 + 1;
- 30 794 127 499 ÷ 2 = 15 397 063 749 + 1;
- 15 397 063 749 ÷ 2 = 7 698 531 874 + 1;
- 7 698 531 874 ÷ 2 = 3 849 265 937 + 0;
- 3 849 265 937 ÷ 2 = 1 924 632 968 + 1;
- 1 924 632 968 ÷ 2 = 962 316 484 + 0;
- 962 316 484 ÷ 2 = 481 158 242 + 0;
- 481 158 242 ÷ 2 = 240 579 121 + 0;
- 240 579 121 ÷ 2 = 120 289 560 + 1;
- 120 289 560 ÷ 2 = 60 144 780 + 0;
- 60 144 780 ÷ 2 = 30 072 390 + 0;
- 30 072 390 ÷ 2 = 15 036 195 + 0;
- 15 036 195 ÷ 2 = 7 518 097 + 1;
- 7 518 097 ÷ 2 = 3 759 048 + 1;
- 3 759 048 ÷ 2 = 1 879 524 + 0;
- 1 879 524 ÷ 2 = 939 762 + 0;
- 939 762 ÷ 2 = 469 881 + 0;
- 469 881 ÷ 2 = 234 940 + 1;
- 234 940 ÷ 2 = 117 470 + 0;
- 117 470 ÷ 2 = 58 735 + 0;
- 58 735 ÷ 2 = 29 367 + 1;
- 29 367 ÷ 2 = 14 683 + 1;
- 14 683 ÷ 2 = 7 341 + 1;
- 7 341 ÷ 2 = 3 670 + 1;
- 3 670 ÷ 2 = 1 835 + 0;
- 1 835 ÷ 2 = 917 + 1;
- 917 ÷ 2 = 458 + 1;
- 458 ÷ 2 = 229 + 0;
- 229 ÷ 2 = 114 + 1;
- 114 ÷ 2 = 57 + 0;
- 57 ÷ 2 = 28 + 1;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 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.
1 970 824 159 985(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 970 824 159 985 (base 10) = 1 1100 1010 1101 1110 0100 0110 0010 0010 1111 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.