p=(2..600).reject{|n|"x"*n=~/^(xx+?)\1+$/} 99.times{|i|p p[p[i+1]-p[i]-1]}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page