Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Project Euler

Name: Anonymous 2010-09-24 23:18

Hey /prog/, I know I'm a little late to the party, but I was wondering how many problems you've solved thus far.
Other discussion regarding Project Euler is also welcome!

Name: Anonymous 2010-09-25 21:35

Problem 10
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.

Find the sum of all the primes below two million.

In[10]:= n = 0; For[i = 1, Prime[i] < 2000000, i++, n += Prime[i]]; n
Out[10]= 142913828922


``faggot'' way

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List