OFFSET
1,7
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (calculated from the b-files at A000041 and A001065)
EXAMPLE
a(7) = 9 because the number of partitions of 7 is 15 and the sum of proper divisors of 15 is equal to 1 + 3 + 5 = 9.
MATHEMATICA
s[n_] := DivisorSigma[1, n] - n; Array[s[PartitionsP[#]] &, 50] (* Amiram Eldar, Jan 07 2020 *)
PROG
(PARI) a(n) = my(p=numbpart(n)); sigma(p) - p; \\ Michel Marcus, Jan 07 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Apr 16 2008
STATUS
approved