login
A387643
Difference between larger and smaller term of n-th psi-amicable pair, sorted by the smaller members from A323329.
3
220, 440, 940, 880, 1100, 1880, 1760, 1652, 2200, 340, 3760, 1780, 4700, 3520, 3304, 4400, 680, 7520, 5500, 3560, 9400, 7040, 6608, 8800, 1360, 15040, 11000, 8780, 7120, 1700, 18800, 11564, 14080, 13216, 8900, 23500, 17600, 2720, 30080, 22000, 26420, 17560, 14240, 3400, 37600, 8610
OFFSET
1,1
FORMULA
a(n) = A323330(n) - A323329(n).
EXAMPLE
a(7) = A323330(7) - A323329(7) = 12400 - 10640 = 220.
MATHEMATICA
psi[n_] := n * Times @@ (1 + 1/FactorInteger[n][[;; , 1]]); psi[1] = 1; t[n_] := psi[n] - n; seq[max_] := Module[{s = {}, n}, Do[n = t[m]; If[n > m && t[n] == m, AppendTo[s, n - m]], {m, 1, max}]; s]; seq[200000] (* Amiram Eldar, Sep 05 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
S. I. Dimitrov, Sep 04 2025
STATUS
approved