010: description, Makefile (with -O3), solution. Unfortunately the runtime is about 53 seconds on my machine; possible optimization is to use a better primality test.