Convert 103 base 10 to base 2,base 8, base 16

2 answers

Base 2:

103 = 102 + 1

102/2 = 51

51 = 50 + 1

50/2 = 25

25 = 24 + 1

24/2 = 12

12/2 = 6

6/2 = 3

3 = 2 + 1

2/2 = 1

So, 103 in the binary system is:

1100111
To convert to base 8 you just take together 3 digits of the binary represenation together, to convert to base 16 you take together 4 digits.

Base 8:

1100111 ---> (001)(100)(111) =
(1)(4)(7) = 147

Base 16:

1100111 = (0110)(0111) = (6)(7) = 67