Divide the number by 5, and the remainder in that division is the 'ones' (50) digit. Take that quotient (without the remainder) and divide by 5. The remainder is the 'fives' (51) digit. Continue dividing until you have zero, with a remainder and that will be the leftmost digit.
Example 27 (base ten) to base 5:
27 / 5 = 5, remainder 2
5 / 5 = 1, remainder 0
1 / 5 = 0, remainder 1
so 102 (base 5) is the same as 27 (base 10). You can check: 1 is in the (52=25) place, and the 2 is in the 'ones' place.
So (1*25) + (0*5) + (2*1) = 27
Chat with our AI personalities
Convert the base 10 numeral to a numeral in the base indicated. 503 to base 5
Repeatedly divide by 5 (noting the remainders) until the quotient is zero. Then write the remainders out in reverse order.
1225 = 1 x 52 + 2 x 5 + 2 = 3710
1D.12516
101.101 base 2