OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from T. D. Noe)
Eric Weisstein's World of Mathematics, Restricted Divisor Function.
Eric Weisstein's World of Mathematics, Aliquot sequence.
EXAMPLE
14 is a member of the sequence because s(22) = 14 and s(169) = 14 (and because no other integer x satisfies s(x) = 14).
MATHEMATICA
len = max = 57; f[_List] := (s = Select[ Split[ Sort[ Table[ DivisorSigma[1, n] - n, {n, 1, max *= 2}]]], Length[#] == 2 & ][[All, 1]]; s [[1 ;; Min[len, Length[s]]]]); FixedPoint[f, {}] (* Jean-François Alcover, Oct 07 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jack Brennen, Oct 24 2000
STATUS
approved