

A240832


Sequence R(n) arising from analysis of structure of A240830.


3



0, 1, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6, 7, 8, 3, 4, 5, 6, 7, 8, 3, 10, 5, 6, 7, 8, 3, 10, 5, 12, 7, 8, 3, 10, 5, 12, 7, 14, 9, 10, 5, 12, 7, 14, 9, 10, 11, 12, 7, 14, 9, 10, 11, 12, 13, 14, 9, 10, 11, 12, 13, 14, 15, 10, 11, 12, 13, 14, 15, 10, 17, 12, 13, 14, 15, 10, 17, 12, 19, 14, 15, 10, 17, 12, 19, 14, 21, 10, 17
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


REFERENCES

Callaghan, Joseph, John J. Chew III, and Stephen M. Tanny. "On the behavior of a family of metaFibonacci sequences." SIAM Journal on Discrete Mathematics 18.4 (2005): 794824. See Eq. (2.2) and Table 2.3.


LINKS

Table of n, a(n) for n=1..90.
Index entries for Hofstadtertype sequences


MAPLE

#T_s, k(n) from Callaghan et al. Eq. (2.2).
s:=0; k:=7;
T:=proc(n) option remember; global R, U, s, k; # A240830
if n <= s+k then 1
else
add(U(ni), i=0..k1);
fi; end;
U:=proc(n) option remember; global R, T, s, k; # A240831
T(R(n)); end;
R:=proc(n) option remember; global U, T, s, k; # A240832
nsT(n1); end;
t1:=[seq(R(n), n=1..100)];


CROSSREFS

Cf. A240830, A240831.
Sequence in context: A037841 A165111 A038387 * A173527 A043267 A167514
Adjacent sequences: A240829 A240830 A240831 * A240833 A240834 A240835


KEYWORD

nonn


AUTHOR

N. J. A. Sloane, Apr 16 2014


STATUS

approved



