Derangements by hallvabo

for n in range(7**7):
 if all(e^`n`.find(`e+1`)>0for e in range(6)):print n

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

download

return to the top page