22:2=11 rest 0
11:2=5 rest 1
5:2=2 rest 1
2:2=1 rest 0
1:2=0 rest 1
acum scriem resturile de JOS în sus
avem
22₂=10110
39:2=19 rest 1
19:2=9 rest 1
9:2=4 rest 1
4:2=2 rest 0
2:2=1 rest 0
1:2=0 rest 1
procedam la fel la toate exercitiile :scriem resturile de jos în sus
39₂=100111
41:2=20 rest 1
20:2=10 rest 0
10:2=5 rest 0
5:2=2 rest 1
2:2=1 rest 0
1:2=0 rest 1
41₂=101001
51:2=25 rest 1
25:2= 12 rest 1
12:2=6 rest 0
6:2=3 rest 0
3:2=1 rest 1
1:2=0 rest 1
51₂=110011
47 :2=23 rest 1
23 :2= 11 rest 1
11:2= 5 rest 1
5:2= 2 rest 1
2:2=1 rest 0
1:2=0 rest 1
47₂=101111
25:2= 12 rest 1
12:2=6 rest 0
6:2= 3 rest 0
3:2= 1 rest 1
1:2= 0 rest 1
25₂=110001
75:2=37 rest 1
37:2= 18 rest 1
18:2= 9 rest 0
9:2= 4 rest 1
4:2= 2 rest 0
2:2= 1 rest 0
1:2= 0 rest 1
75₂=1001011