Practical Numbers by rst76

main=mapM print[n|n<-[1..500],all(>0)$scanl(+)1[d*0^mod n d-1|d<-[1..n]]]

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

download

return to the top page