What are the required steps to convert base 10 decimal system
number 5 635 745 876 895 912 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;
- 5 635 745 876 895 912 ÷ 2 = 2 817 872 938 447 956 + 0;
- 2 817 872 938 447 956 ÷ 2 = 1 408 936 469 223 978 + 0;
- 1 408 936 469 223 978 ÷ 2 = 704 468 234 611 989 + 0;
- 704 468 234 611 989 ÷ 2 = 352 234 117 305 994 + 1;
- 352 234 117 305 994 ÷ 2 = 176 117 058 652 997 + 0;
- 176 117 058 652 997 ÷ 2 = 88 058 529 326 498 + 1;
- 88 058 529 326 498 ÷ 2 = 44 029 264 663 249 + 0;
- 44 029 264 663 249 ÷ 2 = 22 014 632 331 624 + 1;
- 22 014 632 331 624 ÷ 2 = 11 007 316 165 812 + 0;
- 11 007 316 165 812 ÷ 2 = 5 503 658 082 906 + 0;
- 5 503 658 082 906 ÷ 2 = 2 751 829 041 453 + 0;
- 2 751 829 041 453 ÷ 2 = 1 375 914 520 726 + 1;
- 1 375 914 520 726 ÷ 2 = 687 957 260 363 + 0;
- 687 957 260 363 ÷ 2 = 343 978 630 181 + 1;
- 343 978 630 181 ÷ 2 = 171 989 315 090 + 1;
- 171 989 315 090 ÷ 2 = 85 994 657 545 + 0;
- 85 994 657 545 ÷ 2 = 42 997 328 772 + 1;
- 42 997 328 772 ÷ 2 = 21 498 664 386 + 0;
- 21 498 664 386 ÷ 2 = 10 749 332 193 + 0;
- 10 749 332 193 ÷ 2 = 5 374 666 096 + 1;
- 5 374 666 096 ÷ 2 = 2 687 333 048 + 0;
- 2 687 333 048 ÷ 2 = 1 343 666 524 + 0;
- 1 343 666 524 ÷ 2 = 671 833 262 + 0;
- 671 833 262 ÷ 2 = 335 916 631 + 0;
- 335 916 631 ÷ 2 = 167 958 315 + 1;
- 167 958 315 ÷ 2 = 83 979 157 + 1;
- 83 979 157 ÷ 2 = 41 989 578 + 1;
- 41 989 578 ÷ 2 = 20 994 789 + 0;
- 20 994 789 ÷ 2 = 10 497 394 + 1;
- 10 497 394 ÷ 2 = 5 248 697 + 0;
- 5 248 697 ÷ 2 = 2 624 348 + 1;
- 2 624 348 ÷ 2 = 1 312 174 + 0;
- 1 312 174 ÷ 2 = 656 087 + 0;
- 656 087 ÷ 2 = 328 043 + 1;
- 328 043 ÷ 2 = 164 021 + 1;
- 164 021 ÷ 2 = 82 010 + 1;
- 82 010 ÷ 2 = 41 005 + 0;
- 41 005 ÷ 2 = 20 502 + 1;
- 20 502 ÷ 2 = 10 251 + 0;
- 10 251 ÷ 2 = 5 125 + 1;
- 5 125 ÷ 2 = 2 562 + 1;
- 2 562 ÷ 2 = 1 281 + 0;
- 1 281 ÷ 2 = 640 + 1;
- 640 ÷ 2 = 320 + 0;
- 320 ÷ 2 = 160 + 0;
- 160 ÷ 2 = 80 + 0;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 10 ÷ 2 = 5 + 0;
- 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.
5 635 745 876 895 912(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
5 635 745 876 895 912 (base 10) = 1 0100 0000 0101 1010 1110 0101 0111 0000 1001 0110 1000 1010 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.