OFFSET
1,4
COMMENTS
For n >=2, a(n) = (the number of k <= n where d(k) > d(k-1)) - (the number of k <= n where d(k) < d(k-1)).
The record values of {a(n)} occur at n= 1, 2, 4, 16, 40, 75, 165, 208,...
This sequence goes negative at n = 647. In the plot of the first 10^6 terms, the graph is mostly negative after about 250000. - T. D. Noe, Apr 27 2012
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
T. D. Noe, Plot of 10^6 terms
MATHEMATICA
Join[{0}, Accumulate[Sign[Differences[DivisorSigma[0, Range[100]]]]]] (* T. D. Noe, Apr 27 2012 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Leroy Quet, Feb 24 2010
EXTENSIONS
Extended by Ray Chandler, Mar 03 2010
Comment typo corrected by Leroy Quet, Mar 07 2010
STATUS
approved