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).← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close