A307052 Larger of amicable numbers pair m < n such that A307037(m) = n and A307037(n) = m.
5, 17, 80, 257, 1280, 4352, 8060, 65537, 327680, 1065220, 1089452, 1114112, 16842752, 100340800, 383479200, 466344000000
Offset: 1
Programs
-
Mathematica
f[p_, e_] := p^e + (-1)^e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; s={}; Do[m = a[n]; If[m > n && a[m] == n, AppendTo[s, m]], {n, 1, 10^7}]; s
Extensions
a(16) from Giovanni Resta, Mar 24 2019
Comments