You might want to check out Project Euler.