-
1 Comment
James
on 20 May 2015
Including a value where x<=15 and the formula is true (like the x=8; n=2 example in your problem description) will make this solution wrong.
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1505 Solvers
-
345 Solvers
-
352 Solvers
-
615 Solvers
-
127 Solvers
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!