OFFSET
1,12
COMMENTS
Pollack and Kobayashi ask if a(n) can be arbitrarily large and if 0 can appear infinitely often (see Slide 21 in the links).
LINKS
Paul Pollack and Mits Kobayashi, The distribution of abundant numbers, Slides, Integers Conference 2013: Erdős Centennial, University of Georgia, October 24, 2013.
MATHEMATICA
Reap[For[nbe = 0; n = 1, n < 10^5, n += 2, If[DivisorSigma[1, n] > 2*n, If[Mod[n, 4] == 1, nbe++, nbe--]; Sow[nbe]]]][[2, 1]] (* Jean-François Alcover, Jan 05 2016, adapted from PARI *)
PROG
(PARI) lista(nn) = {nbe = 0; forstep(n=1, nn, 2, if (sigma(n) > 2*n, if (n % 4 == 1, nbe++, nbe--); print1(nbe, ", "); ); ); }
CROSSREFS
KEYWORD
sign
AUTHOR
Michel Marcus, Jan 05 2016
STATUS
approved