> =A0 p (1..INFINITY).lazy.map{|n| n**2+1}.select{|m| m.prime?}.take(100)

I like it!
-roger-