I am struggling to understand Decimal to Binary using the following method, given on the second last page of http://www.ling.ohio-state.edu/~scott/teaching/2008/spring/384/handouts/decimal-binary.pdf.
Could someone give some maths behind this. I dont really understand how if there is a remainder, after diving a number by $2$, this represent a $1$ in the corresponding bit.
Intuitively to me, it would seem that if a number was divisible (no remainder) by two, then a $1$ should be placed in the corresponding filed.
Thanks.