Problem 239. Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is evenly divisible by all of the numbers from 1 to input number?
Thank you to Project Euler Problem 5
Solution Stats
Problem Comments
-
3 Comments
Aurelien Queffurust
on 20 Apr 2012
FYI: we cannot execute "matlabpool open" on the labs. ;)
Are Mjaavatten
on 22 Jan 2021
Could someone please remove Yunpeng Teng's spoiler comment?
goc3
on 25 Jan 2021
The spoiler comment has been removed. Thank you for pointing that out, Are Mjaavatten.
Solution Comments
Show commentsProblem Recent Solvers1326
Suggested Problems
-
Who knows the last digit of pi?
658 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
534 Solvers
-
1380 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1051 Solvers
-
8658 Solvers
More from this Author51
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!