You need to test with more than one number. Many attempt (and succeed) with a static vector solution until they are lucky.
When i run the program it says fn is undefined. Please explain
Least common multiple of many numbers
189 Solvers
197 Solvers
208 Solvers
How long is the longest prime diagonal?
342 Solvers
371 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!