OFFSET
1,2
COMMENTS
The k-th positive integer of this sequence is equal to the sum of proper divisors of k-th composite number A002808(k).
MATHEMATICA
NonPrime[n_Integer] := FixedPoint[n + PrimePi@# &, n + PrimePi@n]; f[n_] := Block[{m = NonPrime@n}, DivisorSigma[1, m] - m]; Array[f, 71] (* Robert G. Wilson v, Aug 17 2009 *)
Table[If[PrimeQ[n], -1, Total[Most[Divisors[n]]]], {n, 100}]/.(-1->Nothing) (* Harvey P. Dale, Dec 15 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Jul 04 2009
EXTENSIONS
a(17) and further terms from Robert G. Wilson v, Aug 17 2009
STATUS
approved