118 ÷ 2 = 59 0 59 ÷ 2 = 29 1 29 ÷ 2 = 14 1 14 ÷ 2 = 7 0 7 ÷ 2 = 3 1 3 ÷ 2 = 1 1 1 ÷ 2 = 0 1 for number 118 but for 53 53/2 = 26 1 26/2 = 13 0 13/2 = 6 1 6/2 = 3 0 3/2 = 1 1 1/2 = 0 1 so its 101011 but thats wrong cause thats (1x2^5) + (0x2^4) + (1x2^3) + (0x2^2) + (1x2^1) + (1x2^0) but that equals to 32+8+2+1=43 so whats missing ?? my guess is that if your demical number is an odd number 2xk+1 you have to add 1 at 101011 ?