1 Answers
Best Answer
You obtain the binary expansion of an integer by consecutively dividing the integer by 2 until you obtain 0.
100632=2*50316+0
50316=2*25158+0
25158=2*12579+0
12579=2*6289+1
6289=2*3144+1
3144=2*1572+0
1572=2*786+0
786=2*393+0
393=2*196+1
196=2*98+0
98=2*49+0
49=2*24+1
24=2*12+0
12=2*6+0
6=2*3+0
3=2*1+1
1=2*0+1
The successive remainders of each division represents the binary expansion from right to left.
11000100100011000
100632=2*50316+0
50316=2*25158+0
25158=2*12579+0
12579=2*6289+1
6289=2*3144+1
3144=2*1572+0
1572=2*786+0
786=2*393+0
393=2*196+1
196=2*98+0
98=2*49+0
49=2*24+1
24=2*12+0
12=2*6+0
6=2*3+0
3=2*1+1
1=2*0+1
The successive remainders of each division represents the binary expansion from right to left.
11000100100011000