Lucky numbers by nn

a=1..9999
169.times{v=it?a[it]:2
j=0
a=a.grep{++j%v}}
println a.join(' ')

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

download

return to the top page