What are the required steps to convert base 10 decimal system
number 670 421 123 683 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;
- 670 421 123 683 ÷ 2 = 335 210 561 841 + 1;
- 335 210 561 841 ÷ 2 = 167 605 280 920 + 1;
- 167 605 280 920 ÷ 2 = 83 802 640 460 + 0;
- 83 802 640 460 ÷ 2 = 41 901 320 230 + 0;
- 41 901 320 230 ÷ 2 = 20 950 660 115 + 0;
- 20 950 660 115 ÷ 2 = 10 475 330 057 + 1;
- 10 475 330 057 ÷ 2 = 5 237 665 028 + 1;
- 5 237 665 028 ÷ 2 = 2 618 832 514 + 0;
- 2 618 832 514 ÷ 2 = 1 309 416 257 + 0;
- 1 309 416 257 ÷ 2 = 654 708 128 + 1;
- 654 708 128 ÷ 2 = 327 354 064 + 0;
- 327 354 064 ÷ 2 = 163 677 032 + 0;
- 163 677 032 ÷ 2 = 81 838 516 + 0;
- 81 838 516 ÷ 2 = 40 919 258 + 0;
- 40 919 258 ÷ 2 = 20 459 629 + 0;
- 20 459 629 ÷ 2 = 10 229 814 + 1;
- 10 229 814 ÷ 2 = 5 114 907 + 0;
- 5 114 907 ÷ 2 = 2 557 453 + 1;
- 2 557 453 ÷ 2 = 1 278 726 + 1;
- 1 278 726 ÷ 2 = 639 363 + 0;
- 639 363 ÷ 2 = 319 681 + 1;
- 319 681 ÷ 2 = 159 840 + 1;
- 159 840 ÷ 2 = 79 920 + 0;
- 79 920 ÷ 2 = 39 960 + 0;
- 39 960 ÷ 2 = 19 980 + 0;
- 19 980 ÷ 2 = 9 990 + 0;
- 9 990 ÷ 2 = 4 995 + 0;
- 4 995 ÷ 2 = 2 497 + 1;
- 2 497 ÷ 2 = 1 248 + 1;
- 1 248 ÷ 2 = 624 + 0;
- 624 ÷ 2 = 312 + 0;
- 312 ÷ 2 = 156 + 0;
- 156 ÷ 2 = 78 + 0;
- 78 ÷ 2 = 39 + 0;
- 39 ÷ 2 = 19 + 1;
- 19 ÷ 2 = 9 + 1;
- 9 ÷ 2 = 4 + 1;
- 4 ÷ 2 = 2 + 0;
- 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.
670 421 123 683(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
670 421 123 683 (base 10) = 1001 1100 0001 1000 0011 0110 1000 0010 0110 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.