Write a program to add up all of the prime numbers less than or equal to 10,008.
You may want to have a look at the Sieve of Eratosthenes .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.