Integer from base 10 to base 2

292 Views Asked by At

I do not understand the next method to tranform an integer from base 10 to base 2. Why is the first residue the last digit in the representation of base 2 and not the first? And so on.

enter image description here

1

There are 1 best solutions below

6
On BEST ANSWER

The first residue is the result of dividing by $2^1$... the $n $-th the result of dividing by $2^n $... that is the reason. ..