what is Nega Binary representation of (41)10 ?
I just google first about negaBinary (-2 ) , The procedure says divide number by -2 , to get positive remainder and then read from bottom to top
But my answer doesnt match with the answer given in book
(41) = (-2)*(-20) + 1(LSB)
-20 = (-2)*(10) + 0
(10)= (-2)*(5) + 0
(5) = (-2)*(-2) +1
(-2)= (-2)*(1) +0
1 = (-2)*(0) + 1 (MSB)
So answer what i get is 101001
But they give answer = 1111101
Can you please explain and correct me ?