First iteration of sum-of-multiples