OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
880 is a term since s(880) = 1136 and s(1136) = 880.
MATHEMATICA
s[n_] := Module[{f = FactorInteger[n], p, e}, p = f[[;; , 1]]; e = f[[;; , 2]]; Times @@ ((p^(e + 1) - 1)/(p - 1)) - Times @@ (p + 1) - n]; seq = {}; Do[m = s[n]; If[m > n && s[m] == n, AppendTo[seq, n]], {n, 2, 3*10^6}]; seq
CROSSREFS
Subsequence of A013929.
KEYWORD
nonn
AUTHOR
Amiram Eldar, Oct 01 2022
STATUS
approved