Profile

Took a few days since I did this over a few evenings since I'm busy between 9am-5pm. :)
This is a nice trick ! But how about keeping track of the sum as you go along in your loop, rather than looping over the prime array again here?