OFFSET
0,2
COMMENTS
Starting the sequence at a(1)=1 instead and using the recursion to get all terms after this, gets the sequence beginning: 1,2,2,4,3,3,4,6,4,4,4,5,... The sequences are the same from term a(4) on, whether starting with a(0)=1 or with a(1)=1.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
EXAMPLE
a(11)+12 = 16. So a(12) is the number of positive divisors of 16, which is 5.
MAPLE
with(numtheory): a:=proc(n) if n=0 then 1 else tau(n+a(n-1)) fi end: seq(a(n), n=0..130); # Emeric Deutsch, Apr 26 2007
MATHEMATICA
nxt[{n_, a_}]:={n+1, DivisorSigma[0, a+n+1]}; NestList[nxt, {0, 1}, 110][[All, 2]] (* Harvey P. Dale, Mar 12 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 17 2007
EXTENSIONS
More terms from Emeric Deutsch, Apr 26 2007
STATUS
approved