Factoradic Counter by recursive

F="",
P=1
exec"F=[`p`+f for p in range(P)for f in F];P+=1;"*8
for v in F[:1001]:print int(v)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top