The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A240829 a(1)=-1, a(2)=0, a(3)=1; thereafter a(n) = Sum(a(n-i-s-a(n-i-1)),i=0..k-1) where s=0, k=3. 1
 -1, 0, 1, 3, 2, 4, 4, 7, 4, 7, 7, 9, 8, 9, 11, 10, 10, 13, 15, 13, 13, 13, 18, 15, 18, 18, 18, 18, 18, 23, 23, 20, 19, 23, 28, 27, 23, 25, 27, 28, 25, 26, 28, 30, 31, 32, 33, 33, 32, 34, 33, 38, 36, 39, 34, 36, 36, 39, 39, 39, 39, 44, 46, 46, 43, 46, 46, 44, 44, 49, 49, 49, 46, 51, 48, 51, 51, 54, 54, 54, 54, 54 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 REFERENCES Callaghan, Joseph, 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 Fig. 1.7. LINKS N. J. A. Sloane, Table of n, a(n) for n = 1..20000 MAPLE #T_s, k(n) from Callaghan et al. Eq. (1.6). s:=0; k:=3; a:=proc(n) option remember; global s, k; if n <= 3 then n-2 else     add(a(n-i-s-a(n-i-1)), i=0..k-1); fi; end; t1:=[seq(a(n), n=1..100)]; CROSSREFS Same recurrence as A240828, A120503 and A046702. Sequence in context: A047993 A033177 A175512 * A284013 A241412 A241445 Adjacent sequences:  A240826 A240827 A240828 * A240830 A240831 A240832 KEYWORD sign,hear 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 November 26 16:49 EST 2020. Contains 338641 sequences. (Running on oeis4.)