Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Numbers Factory by NikitaAlkhovik
def checkio(number):
foo = []
for n in range(9, 1, -1):
while not number % n:
number = number // n
foo.append(n)
if number == 1:
return int(''.join(map(str, sorted(foo))))
return 0
Sept. 17, 2017