Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for The Good Radix by Moff
def checkio(s):
for k in range(1, 37):
try:
n = int(s, k)
if n % (k - 1) == 0:
return k
except:
pass
return 0
July 27, 2015