mirror of
https://bitbucket.org/Mattrixwv/octavefunctions.git
synced 2025-12-07 03:03:57 -05:00
7 lines
174 B
Matlab
7 lines
174 B
Matlab
%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))
|