Problem 44748. Amicable numbers
Solution Stats
Problem Comments
-
4 Comments
use of divisors is not allowed.
I think it's because divisors is part of a toolbox, I did not set it up not to allow it.
@cdeliu I have solved another problem in Community and I still am unable to see the best solution. Could you help to give advice on this.
If divisors function is not allowed, you should somehow generate these divisors. The best solution uses the mod function.
Solution Comments
-
1 Comment
I performed speed analyses on this and Solution 1659562 is faster by leaps and bounds if you can see this solution your doing good. I performed this as a hack as I was unable to see the real solutions even after solving others in the community.
-
1 Comment
Very impressive.
Problem Recent Solvers52
Suggested Problems
-
Get the length of a given vector
7647 Solvers
-
270 Solvers
-
compress sequence into intervals
75 Solvers
-
特定の値がベクトル内に含まれているかを確認するコードを書こう
242 Solvers
-
6576 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!