Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for The Good Radix by nakanohito_piyo
def checkio(number):
for radix in range(1,37+1):
try:
x = int(number,radix) # try to convert
if x%(radix-1)==0:
return radix
except:
pass
return 0 #not found
Sept. 29, 2015