Project Euler: problem 1 solution
Project Euler: better problem 1 solution

Constant time.