What are the required steps to convert base 10 decimal system
number 297 121 508 239 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;
- 297 121 508 239 ÷ 2 = 148 560 754 119 + 1;
- 148 560 754 119 ÷ 2 = 74 280 377 059 + 1;
- 74 280 377 059 ÷ 2 = 37 140 188 529 + 1;
- 37 140 188 529 ÷ 2 = 18 570 094 264 + 1;
- 18 570 094 264 ÷ 2 = 9 285 047 132 + 0;
- 9 285 047 132 ÷ 2 = 4 642 523 566 + 0;
- 4 642 523 566 ÷ 2 = 2 321 261 783 + 0;
- 2 321 261 783 ÷ 2 = 1 160 630 891 + 1;
- 1 160 630 891 ÷ 2 = 580 315 445 + 1;
- 580 315 445 ÷ 2 = 290 157 722 + 1;
- 290 157 722 ÷ 2 = 145 078 861 + 0;
- 145 078 861 ÷ 2 = 72 539 430 + 1;
- 72 539 430 ÷ 2 = 36 269 715 + 0;
- 36 269 715 ÷ 2 = 18 134 857 + 1;
- 18 134 857 ÷ 2 = 9 067 428 + 1;
- 9 067 428 ÷ 2 = 4 533 714 + 0;
- 4 533 714 ÷ 2 = 2 266 857 + 0;
- 2 266 857 ÷ 2 = 1 133 428 + 1;
- 1 133 428 ÷ 2 = 566 714 + 0;
- 566 714 ÷ 2 = 283 357 + 0;
- 283 357 ÷ 2 = 141 678 + 1;
- 141 678 ÷ 2 = 70 839 + 0;
- 70 839 ÷ 2 = 35 419 + 1;
- 35 419 ÷ 2 = 17 709 + 1;
- 17 709 ÷ 2 = 8 854 + 1;
- 8 854 ÷ 2 = 4 427 + 0;
- 4 427 ÷ 2 = 2 213 + 1;
- 2 213 ÷ 2 = 1 106 + 1;
- 1 106 ÷ 2 = 553 + 0;
- 553 ÷ 2 = 276 + 1;
- 276 ÷ 2 = 138 + 0;
- 138 ÷ 2 = 69 + 0;
- 69 ÷ 2 = 34 + 1;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 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.
297 121 508 239(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
297 121 508 239 (base 10) = 100 0101 0010 1101 1101 0010 0110 1011 1000 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.