Problem 52532. Easy Sequences 5: Project Euler Problem 1 - Again!
We are all familiar with Project Euler Problem 1. This time let's try it on bigger multiples and larger range.
Find the sum of all the multiples of the first input or the second input for all positive integers below the third input.
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 14 Nov 2022
It's not exactly Euler Problem 1 since we need to calculate the lcm between the two numbers, but it's ok.
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Number of 1s in a binary string
9801 Solvers
-
Matrix indexing with two vectors of indices
734 Solvers
-
Remove the two elements next to NaN value
659 Solvers
-
Area of an equilateral triangle
6430 Solvers
-
168 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!