summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--problem10.ijs2
1 files changed, 2 insertions, 0 deletions
diff --git a/problem10.ijs b/problem10.ijs
new file mode 100644
index 0000000..28847b9
--- /dev/null
+++ b/problem10.ijs
@@ -0,0 +1,2 @@
+primes=. p: i. 150000 NB. I just tested, and the 150000'th prime is over 2000000 so this is ok
+problem10=:+/(primes<2000000)#primes