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
FYI: we cannot execute "matlabpool open" on the labs. ;)
Could someone please remove Yunpeng Teng's spoiler comment?
The spoiler comment has been removed. Thank you for pointing that out, Are Mjaavatten.
Solution Comments
Show commentsProblem Recent Solvers1640
Suggested Problems
-
Select every other element of a vector
35882 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1972 Solvers
-
Calculate the area of a triangle between three points
3392 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
699 Solvers
-
10164 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!