a=[] 99.times{|i|n=j=i%9+1;a|=[n=n*10+j]until 9<j+=i%7+1} puts a.sort
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page