Could you improve your test suite with more test cases? (e.g. 496, 28 (true) and 26, 500 (false))
I added some more tests.
See problem 1012.
The point "the sum of its factors" is not correct. it must be "the sum of all his divisors"... :-/
231 Solvers
269 Solvers
Create a Multiplication table matrix...
285 Solvers
Sort the vector with the given index
99 Solvers
331 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!