Problem 2544. Determine if given number is perfect
Solution Stats
Problem Comments
-
4 Comments
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"... :-/
Problem Recent Solvers46
Suggested Problems
-
Determine Whether an array is empty
694 Solvers
-
421 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
673 Solvers
-
586 Solvers
-
131 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!