

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


LINKS

Table of n, a(n) for n=0..56.


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: A310038 A036696 A111039 * A118113 A258165 A076193
Adjacent sequences: A114509 A114510 A114511 * A114513 A114514 A114515


KEYWORD

easy,nonn


AUTHOR

Leroy Quet, Dec 03 2005


EXTENSIONS

Extended by Ray Chandler, Dec 05 2005


STATUS

approved



