| about | help | code help+videos | done | prefs |
amicable
Two integers are called "Amicable Numbers" if the sum of the proper divisors of one is equal to the other, and vice-versa. Write amicable(m, n) to return True if m and n are amicable numbers. amicable(220, 284) → True amicable(222, 286) → False amicable(284, 220) → True ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 252 Post-solution available
Copyright Nick Parlante 2017 - privacy