Project Euler : Problem 10 - Summation of primes

less than 1 minute read

Problem Statement : Summation of primes

Problem 10 : The sum of the primes below is . Find the sum of all the primes below two million.

Concept and Theory

I will leave this to the viewer because I have already covered Prime Numbers concept in, Calculate Primes, post.

Test Your Skills

Wanna try a harder version of the above problem ? Check this HackerRank problem.

Solution

The solution will remain same as given in the above mentioned post, , you just need to call it for each test case.

References and Further Readings

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...