Problem 5 from Project Euler Plus.