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!)
 A131017 Period 6 sequence (1, 1, 2, -1, 2, 1). 0
 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS FORMULA |a(n)| = A131718(n). a(n) = A131717(n+1) - A131717(n). O.g.f.: (1+x+2x^2-x^3+2x^4+x^5)/[(1-x)(1+x)(x^2+x+1)(x^2-x+1)]. - R. J. Mathar, Jul 07 2008 a(n)=(1/30)*{2*(n mod 6)+7*[(n+1) mod 6]-13*[(n+2) mod 6]+17*[(n+3) mod 6]-3*[(n+4) mod 6]+2*[(n+5) mod 6]}, with n>=0. - Paolo P. Lava, Oct 10 2007 CROSSREFS Sequence in context: A160198 A207709 A131718 * A244227 A214713 A049046 Adjacent sequences:  A131014 A131015 A131016 * A131018 A131019 A131020 KEYWORD sign,easy AUTHOR Paul Curtz, Sep 23 2007 EXTENSIONS Edited by R. J. Mathar, Jul 07 2008 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 September 23 19:48 EDT 2021. Contains 347617 sequences. (Running on oeis4.)