Period of first differences by Histocrat

#!ruby -pal
$_=0
0while[*$F.each_cons(2).map{|t|eval t*'-'}.each_cons($_+=1)].uniq[$_]

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

download

return to the top page