Good problem. You should generalise it with more tests (size of the matrix, different gap...).
I suspect that my solution isn't correct.
This doesn't work..Good for cody!!
Project Euler: Problem 5, Smallest multiple
397 Solvers
1882 Solvers
208 Solvers
583 Solvers
compress sequence into intervals
53 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!