diff options
-rw-r--r-- | problem10.ijs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/problem10.ijs b/problem10.ijs index 28847b9..ed91f3f 100644 --- a/problem10.ijs +++ b/problem10.ijs @@ -1,2 +1 @@ -primes=. p: i. 150000 NB. I just tested, and the 150000'th prime is over 2000000 so this is ok -problem10=:+/(primes<2000000)#primes +problem10=:+/p: i. (p:^:_1) 2000000 |