Tag Archives: composite

10. Sum of Prime

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

A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.   A natural number greater than 1 that is not a prime number is called a composite number.   For example, 5 is prime, as only 1 and 5 divide it, whereas 6 is composite,   since it has the divisors 2 and 3 in addition to 1 and 6. Read more of this post

Advertisement