Write a program which solves for and prints the first 30 titanic primes. The person who writes the most efficient program wins. Use any language you like.
This is pretty awesome. You could just refactor it a bit.
For example, no need for "return 0" in main (don't worry, it's standard), neither return type, neither argument list. Also, maybe break lines at the Zs.