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 Tinus_Trotyl
def checkio(number):
r = max(int(i, 36) for i in number) + 1
while r < 37 and int(number, r) % (r-1):
r += 1
return r % 37
May 31, 2017