Problem 52532. Easy Sequences 5: Project Euler Problem 1 - Again!
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Ramon Villamangca
on 16 Aug 2021
Hi,
Your solution is almost correct but your removing duplicates at multiples of the product of mult1 & mult2. You may actually find duplicates at multiples of less than that product.
William
on 17 Aug 2021
Oops! I knew I was forgetting something! Thanks for the tip Ramon.
Problem Recent Solvers5
Suggested Problems
-
Project Euler: Problem 4, Palindromic numbers
677 Solvers
-
Make a run-length companion vector
595 Solvers
-
130 Solvers
-
298 Solvers
-
Integer Sequence - II : New Fibonacci
396 Solvers
More from this Author66
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!