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

 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 May 25 11:07 EDT 2020. Contains 334592 sequences. (Running on oeis4.)