Problem 2652 · Easy

Sum Multiples

Add every integer from 1 to n that is divisible by 3, 5, or 7.

Open the interactive visualisation