OFFSET
1,8
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..20000
Joseph Callaghan, John J. Chew III, and Stephen M. Tanny, On the behavior of a family of meta-Fibonacci sequences, SIAM Journal on Discrete Mathematics 18.4 (2005): 794-824. See Table 2.1.
MAPLE
#T_s, k(n) from Callaghan et al. Eq. (1.7).
s:=0; k:=7;
a:=proc(n) option remember; global s, k;
if n <= s+k then 1
else
add(a(n-i-s-a(n-i-1)), i=0..k-1);
fi; end;
t1:=[seq(a(n), n=1..100)];
MATHEMATICA
CROSSREFS
AUTHOR
N. J. A. Sloane, Apr 16 2014
STATUS
approved