Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Numbers Factory by panaro32
def checkio(n):
x,i = 0,0
for d in range(9,1,-1):
while not n%d: x,i,n = x+d*10**i,i+1,n//d
return n==1 and x or 0
May 29, 2014