math
posted by Anonymous on .
Write 12,767 in base sixteen.

Last digit:
12,767 Mod 16 = 15 = F
Subtract last digit and divide by 16:
(12,767  15 )/16 = 797
The last digit of this is:
797 Mod 16 = 13 = D
Subtract this digit and divide by 16:
(797  13)/16 = 49
Last digit of this is:
49 Mod 16 = 1
Subtract this digit and divide by 16:
(49  1)/16 = 3
So, the number in base 16 is 31DF