The problem is taken from Project-Euler, which asks what is the sum of all prime numbers under 2 million. Traditional Approach Project-Euler has many problems like this which looks ridiculously easy in theory, but practically impossible when using the old-school brute force way to solve them. Even after applying some well-known techniques to shrink the [...]
All posts tagged euler
Fast and elegant way to sum primes in a gigantic range
Posted in Technology
Posted by Kevin J. Qiu on June 1, 2009
http://reminiscential.wordpress.com/2009/06/01/fast-and-elegant-way-to-sum-primes-in-a-gigantic-range/
About me
-
Top Posts
- Building a GAE+GWT application using the best practices, Part 5
- Building a GAE+GWT application using the best practices, Part 2
- Building a GAE+GWT application using the best practices, Part 3
- Building a GAE+GWT application using the best practices (Index)
- Scala Simple Build Tool -- Not so simple after all, at least for now...
- Realtime notification delivery using rabbitmq, Tornado and websocket
- Setting up GWT2 project with gwt-maven-plugin
- GWT code split is awesome
- Building a GAE+GWT application using the best practices, Part 4
- Use Python decorator to curry functions
Flow of time
May 2012 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Tags
build chrome extension clojure code split concurrency delegation dependency injection design pattern erlang euler extgwt filter functional programming gae google app engine gwt gwt2 java javascript learning library life map maven message queue mvp news Personal plugin Politics programming project euler proof of concept python sbt scala setup Technology Tips vim windowsPages
-
Recent Posts
Archives
- April 2012 (2)
- March 2012 (1)
- October 2011 (1)
- April 2011 (1)
- March 2011 (2)
- February 2011 (1)
- January 2011 (1)
- October 2010 (2)
- September 2010 (1)
- July 2010 (1)
- June 2010 (1)
- May 2010 (1)
- March 2010 (7)
- February 2010 (2)
- December 2009 (1)
- November 2009 (3)
- October 2009 (1)
- June 2009 (2)
- March 2009 (1)
- September 2008 (3)
- April 2007 (1)
Top Rated
Blogroll
Meta
Archives
- April 2012 (2)
- March 2012 (1)
- October 2011 (1)
- April 2011 (1)
- March 2011 (2)
- February 2011 (1)
- January 2011 (1)
- October 2010 (2)
- September 2010 (1)
- July 2010 (1)
- June 2010 (1)
- May 2010 (1)
- March 2010 (7)
- February 2010 (2)
- December 2009 (1)
- November 2009 (3)
- October 2009 (1)
- June 2009 (2)
- March 2009 (1)
- September 2008 (3)
- April 2007 (1)