

A240833


Sequence U(n) arising from analysis of structure of A046702.


3



1, 1, 1, 1, 1, 3, 1, 3, 1, 3, 3, 3, 3, 3, 5, 3, 5, 3, 7, 3, 7, 3, 7, 5, 7, 5, 7, 5, 9, 5, 9, 5, 9, 7, 9, 7, 9, 9, 9, 9, 9, 11, 9, 11, 9, 13, 9, 13, 9, 15, 9, 15, 9, 17, 9, 17, 9, 17, 11, 17, 11, 17, 11, 19, 11, 19, 11, 19, 13, 19, 13, 19, 13, 21, 13, 21, 13, 23, 13, 23, 13, 23, 15, 23, 15, 23, 17, 23, 17, 23, 17
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

2,6


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. (3.1) and Table 3.1.


LINKS

Table of n, a(n) for n=2..92.
Index entries for Hofstadtertype sequences


MAPLE

#T_s, k(n) from Callaghan et al. Eq. (3.1).
s:=0; k:=3;
T:=proc(n) option remember; global R, U, s, k; # A046702
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; # A240833
T(R(n)); end;
R:=proc(n) option remember; global U, T, s, k; # A240834
nsT(n1); end;
t1:=[seq(U(n), n=2..100)];


CROSSREFS

Cf. A046702, A240834.
Sequence in context: A163378 A025810 A001319 * A110919 A281273 A109599
Adjacent sequences: A240830 A240831 A240832 * A240834 A240835 A240836


KEYWORD

nonn


AUTHOR

N. J. A. Sloane, Apr 16 2014


STATUS

approved



