(5*10**7..501e5).each{|n|p~-n+n*n}