OFFSET
0,20
LINKS
Ilya Gutkovskiy, Extended graphical example
Eric Weisstein's World of Mathematics, Abundant Number
Eric Weisstein's World of Mathematics, Deficient Number
EXAMPLE
a(21) = 3 because we have [20, 1], [18, 3] and [12, 7].
MATHEMATICA
nmax = 95; CoefficientList[Series[Sum[Boole[DivisorSigma[1, k] > 2 k] x^k, {k, 1, nmax}] Sum[Boole[DivisorSigma[1, k] < 2 k] x^k, {k, 1, nmax}], {x, 0, nmax}], x]
PROG
(PARI) concat([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Vec(sum(k=1, 95, (sigma(k)>2*k) * x^k) * sum(k=1, 95, (sigma(k)<2*k) * x^k) + O(x^96))) \\ Indranil Ghosh, Mar 16 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 16 2017
STATUS
approved