RSS FEED
Showing posts with label sieve of Eratosthenes. Show all posts
Showing posts with label sieve of Eratosthenes. Show all posts

Project Euler: Problem 10

The problems start to get real, yet maxscript still holds up well. Let's have a look at problem No. 10:

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.

Find the sum of all the primes below two million.

Read more »

Project Euler: Problem 7

Lucky seven, here we come, problem No. 7 in all its glory:

By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.

What is the 10001st prime number?

Read more »
Return to top