Problem 53965. Easy Sequences 67: Project Euler Problem 1 - Not Again!!!

You know the drill...
Given two integers x and n, with , find the sum of all positive integers below x, that are multiples of any of the integers from 2 up to n.
For example, for and , the sum of the multiples of 2, 3, 4 or 5 is:

Solution Stats

75.0% Correct | 25.0% Incorrect
Last Solution submitted on Feb 12, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers2

Suggested Problems

More from this Author116

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!