110011=1+2+16+32=51 1100=4+8=12 110011001100= 2048+1024+128+64+8+4=3276 358/2=179 r 0 179/2=89 r 1 89/2= 44 r 1 44/2= 22 r 0 22/2=11 r 0 11/2= 5 r 1 5/2= 2 r 1 2/2= 1 r 0 1/2= 0 r 1 358= 101100110 780/2= 390 r 0 390/2= 195 r 0 195/2=97 r 1 97/2= 48 r 1 48/2= 24 r 0 24/2= 12 r 0 12/2= 6 r 0 6/2= 3 r 0 3/2= 1 r 1 1/2=0 r 1 780=1100001100 955/2= 477 r 1 477/2=238 r 1 238/2= 119 r 0 119/2= 59 r 1 59/2=29 r 1 29/2= 14 r 1 14/2=7 r 0 7/2 = 3 r 1 3/2= 1 r 1 1/2=0 r 1 955= 1110111011
[latex]110011_B=2^5+2^4+2^1+2^0=32+16+2+1=51_D[/latex] [latex]1100_B=2^3+2^2=8+4=12_D[/latex] [latex]110011001100_B=2^11+2^10+2^7+2^6+2^3+2^2=2048+1024+128+64+8+4=3276_D[/latex] 358 : 2 | 0 179 : 2 | 1 89 : 2 | 1 44 : 2 | 0 22 : 2 | 0 11 : 2 | 1 5 : 2 | 1 2 : 2 | 0 1 : 2 | 1 wynik czytać od dołu [latex]358_D=101100110_B[/latex] 780 : 2 | 0 390 : 2 | 0 195 : 2 | 1 97 : 2 | 1 48 : 2 | 0 24 : 2 | 0 12 : 2 | 0 6 : 2 | 0 3 : 2 | 1 1 : 2 | 1 wynik czytać od dołu [latex]780_D=1100001100_B[/latex] 955 : 2 | 1 477 : 2 | 1 238 : 2 | 0 119 : 2 | 1 59 : 2 | 1 29 : 2 | 1 14 : 2 | 0 7 : 2 | 1 3 : 2 | 1 1 : 2 | 1 wynik czytać od dołu [latex]955_D=1110111011_B[/latex]