mirror of
https://bitbucket.org/Mattrixwv/octavefunctions.git
synced 2025-12-06 18:53:57 -05:00
Added solution for problem 10
This commit is contained in:
6
ProjectEuler/Problem10.m
Normal file
6
ProjectEuler/Problem10.m
Normal file
@@ -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))
|
||||
Reference in New Issue
Block a user