Problem 3, up to 13195