(1e5*9999...1e9).each{|n|p~-n+n*n}