
Sum of numbers up to n divisible by 3, 5 or 7CodingGiven a positive integer n, return the sum of every integer from 1 to n that is divisible by at least one of 3, 5 and 7, counting each number once. A loop works; then do it in…
Last asked Sep 2026





+1
+1

+1
+1
+1




























+2





