summaryrefslogtreecommitdiff
path: root/problem10.ijs
blob: 28847b9c680b161851dd4965bfb0971d09c9730d (plain) (blame)
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