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
1600 Solvers
228 Solvers
Create a square matrix of multiples
383 Solvers
How long is the longest prime diagonal?
338 Solvers
453 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!