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
Solution Comments
Show comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
2015 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Number of 1s in a binary string
11367 Solvers
-
the average value of the elements
2357 Solvers
-
296 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!
It's not exactly Euler Problem 1 since we need to calculate the lcm between the two numbers, but it's ok.