Project Euler, problem 10:

Total @ Prime @ Range @ PrimePi[2*^6]

(apply + (filter prime? (range 1 2e6)))

(require math/number-theory)