This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A172986 A periodic chaotic sequence based on A029826: a(n)=If[n==0,0,If[n <= 20, A029826(n+1), a(n - 1 - Mod[n, 20]) + A029826(2 + Mod[n, 20])] 0
 0, 1, -1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 2, 1, 2, 3, 2, 4, 3, 3, 5, 4, 4, 5, 4, 5, 4, 5, 5, 5, 5, 6, 5, 6, 7, 6, 8, 7, 8, 6, 8, 7, 7, 8, 7, 8, 7, 8, 8, 8, 8, 9, 8, 9, 10, 9, 11, 10, 11, 9, 11, 10, 10, 11, 10, 11, 10, 11, 11, 11, 11, 12, 11, 12, 13, 12, 14, 13, 14, 12, 14, 13, 13, 14, 13, 14, 13 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,15 COMMENTS The idea was to use the chaotic initial behavior of A029826 as a slow moving pattern for the new sequence. LINKS FORMULA a(n)=If[n==0,0,If[n <= 20, A029826(n+1), a(n - 1 - Mod[n, 20]) + A029826(2 + Mod[n, 20])] MATHEMATICA Clear[a, b, c, p, q] p[x_] = (x^(10) + x^9 - x^7 - x^6 - x^5 - x^4 - x^3 + x + 1); q[x_] = Expand[x^10*p[1/x]]; a = Table[SeriesCoefficient[Series[1/q[x], {x, 0, 50}], n], {n, 0, 20}]; b[0] := 0; b[n_] := b[n] = If[n <= 20, a[[n]], b[n - 1 - Mod[n, 20]] + a[[1 + Mod[n, 20]]]]; c = Table[b[n], {n, 0, 100}] CROSSREFS Sequence in context: A112779 A029201 A071283 * A029826 A192185 A246833 Adjacent sequences:  A172983 A172984 A172985 * A172987 A172988 A172989 KEYWORD sign,uned AUTHOR Roger L. Bagula, Feb 06 2010 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 December 9 03:27 EST 2019. Contains 329872 sequences. (Running on oeis4.)