OFFSET
1,1
COMMENTS
The number of terms < 10^m, for m >= 1: 0, 4, 104, 1320, 15000, 162705, ..., . The smallest term which is the beginning of n consecutive terms: 45, 164, 625, 2274, 30481, 150992, 624963, 726421, ..., . - Robert G. Wilson v, Mar 23 2008
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..10000
MAPLE
with(numtheory): a:=proc(n) if 0<(-1)^n*(tau(n+1)-tau(n)) then n else end if end proc: seq(a(n), n=1..500); # Emeric Deutsch, Mar 06 2008
MATHEMATICA
f[n_] := (DivisorSigma[0, n + 1] - DivisorSigma[0, n])*(-1)^n; Select[ Range@ 565, f@# > 0 &] (* Robert G. Wilson v, Mar 23 2008 *)
PROG
(GAP) Filtered([1..1000], n->IsPosInt((Tau(n+1)-Tau(n))*(-1)^n)); # Muniru A Asiru, May 27 2018
(PARI) isok(n) = (numdiv(n+1) - numdiv(n))*(-1)^n > 0; \\ Michel Marcus, May 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 02 2008
EXTENSIONS
More terms from Emeric Deutsch, Mar 06 2008
More terms from R. J. Mathar and Robert G. Wilson v, Mar 23 2008
STATUS
approved