Coding challenge

Print what you get when $x^2+x+41$ is evaluated for $x=0...100$ or so. What percentage of the numbers are prime? What about from $x=0...2398$? $4000$? (from Engel, p. 260).

Show a friend, family member, or teacher what you've done!