login
A114512
Number of terms in s(n), where s(n) is defined at sequence A114510.
1
1, 3, 5, 9, 11, 17, 19, 21, 25, 35, 37, 49, 51, 53, 57, 59, 65, 83, 85, 105, 107, 129, 131, 133, 137, 163, 165, 167, 171, 173, 179, 181, 183, 187, 197, 233, 235, 273, 275, 277, 281, 283, 289, 291, 293, 297, 307, 309, 321, 371, 373, 425, 427, 481, 483, 485, 489
OFFSET
0,2
EXAMPLE
s(3), as defined at A114510, is {0,0,1,0,2,0,0,1,3}; so a(3) = 9.
MATHEMATICA
s[0] = {0}; s[n_] := s[n] = Flatten[{s[n - 1], s[s[n - 1][[n]]], {n}}]; Table[Length[s[n]], {n, 0, 56}] (* Ray Chandler, Dec 05 2005 *)
CROSSREFS
Cf. A114510.
Sequence in context: A372051 A036696 A111039 * A118113 A258165 A076193
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Dec 03 2005
EXTENSIONS
Extended by Ray Chandler, Dec 05 2005
STATUS
approved