Almost a one-liner as solution.
This commit is contained in:
parent
e7ee3570a1
commit
2700d8cae9
1 changed files with 2 additions and 0 deletions
2
10/euler10.R
Normal file
2
10/euler10.R
Normal file
|
@ -0,0 +1,2 @@
|
|||
library(numbers)
|
||||
sum(as.numeric(Primes(1L, 2000000L)))
|
Reference in a new issue