What are the required steps to convert base 10 decimal system
number 1 532 135 844 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 532 135 844 ÷ 2 = 766 067 922 + 0;
- 766 067 922 ÷ 2 = 383 033 961 + 0;
- 383 033 961 ÷ 2 = 191 516 980 + 1;
- 191 516 980 ÷ 2 = 95 758 490 + 0;
- 95 758 490 ÷ 2 = 47 879 245 + 0;
- 47 879 245 ÷ 2 = 23 939 622 + 1;
- 23 939 622 ÷ 2 = 11 969 811 + 0;
- 11 969 811 ÷ 2 = 5 984 905 + 1;
- 5 984 905 ÷ 2 = 2 992 452 + 1;
- 2 992 452 ÷ 2 = 1 496 226 + 0;
- 1 496 226 ÷ 2 = 748 113 + 0;
- 748 113 ÷ 2 = 374 056 + 1;
- 374 056 ÷ 2 = 187 028 + 0;
- 187 028 ÷ 2 = 93 514 + 0;
- 93 514 ÷ 2 = 46 757 + 0;
- 46 757 ÷ 2 = 23 378 + 1;
- 23 378 ÷ 2 = 11 689 + 0;
- 11 689 ÷ 2 = 5 844 + 1;
- 5 844 ÷ 2 = 2 922 + 0;
- 2 922 ÷ 2 = 1 461 + 0;
- 1 461 ÷ 2 = 730 + 1;
- 730 ÷ 2 = 365 + 0;
- 365 ÷ 2 = 182 + 1;
- 182 ÷ 2 = 91 + 0;
- 91 ÷ 2 = 45 + 1;
- 45 ÷ 2 = 22 + 1;
- 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 532 135 844(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 532 135 844 (base 10) = 101 1011 0101 0010 1000 1001 1010 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.