This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A241154 a(n)=1 for n <= s+k; thereafter a(n) = Sum(a(n-i-s-a(n-i-1)),i=0..k-1) where s=0, k=5. 7
 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 9, 9, 9, 9, 13, 9, 13, 13, 17, 13, 17, 13, 17, 17, 21, 17, 21, 21, 21, 21, 25, 25, 25, 25, 25, 29, 29, 29, 29, 33, 29, 33, 33, 37, 33, 37, 33, 41, 37, 41, 37, 45, 37, 45, 41, 49, 41, 49, 41, 53, 45, 53, 45, 57, 45, 57, 49, 61, 49, 61, 49, 61, 53, 65, 53, 65, 57, 65, 57, 69, 61, 69, 61 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,6 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 Eq. (1.7). MAPLE #T_s, k(n) from Callaghan et al. Eq. (1.7). s:=0; k:=5; 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 s = 0; k = 5; a[n_] := a[n] = If[n <= s + k, 1, Sum[a[n - i - s - a[n - i - 1]], {i, 0, k - 1}]]; Array[a, 100] (* Jean-François Alcover, Nov 10 2017 *) CROSSREFS Callaghan et al. (2005)'s sequences T_{0,k}(n) for k=1 through 7 are A000012, A046699, A046702, A240835, A241154, A241155, A240830. Sequence in context: A289119 A117878 A291497 * A094636 A105247 A245357 Adjacent sequences:  A241151 A241152 A241153 * A241155 A241156 A241157 KEYWORD nonn,hear,look AUTHOR N. J. A. Sloane, Apr 16 2014 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 20 17:27 EDT 2019. Contains 324234 sequences. (Running on oeis4.)