Wiki
Python
Aide
edit SideBar
def aliquote(n): return [k for k in range(1,n) if not n%k] def amicaux(m, n): return sum(aliquote(m))==n and sum(aliquote(n))==m