Tap here to switch tabs
Problem
Submissions

Problem: Sum Multiples

Try to solve the Sum Multiples problem.

Statement

Given a positive integer n, return the sum of all integers in the range [1,[1, n]] inclusive that are divisible by 33, 55, or 77.

Constraints:

  • 1≤1 \leq n ≤103\leq 10^3

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Sum Multiples

Try to solve the Sum Multiples problem.

Statement

Given a positive integer n, return the sum of all integers in the range [1,[1, n]] inclusive that are divisible by 33, 55, or 77.

Constraints:

  • 1≤1 \leq n ≤103\leq 10^3