From ddae03b64eb224afe9fbbf7ca3e1939934a1a31b Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Wed, 26 Sep 2018 12:33:13 -0400 Subject: [PATCH] Added solution for problem 10 --- ProjectEuler/Problem10.m | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ProjectEuler/Problem10.m diff --git a/ProjectEuler/Problem10.m b/ProjectEuler/Problem10.m new file mode 100644 index 0000000..08286cb --- /dev/null +++ b/ProjectEuler/Problem10.m @@ -0,0 +1,6 @@ +%ProjectEuler/Problem10.m +%This is a script to answer Problem 10 for Project Euler +%Find the sum of all the primes below two million. + +%Print the answer +sum(primes(2000000))