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!)
 A131201 Period 24: repeat 0,1,2,5,2,9,0,9,8,5,8,1,0,-1,-2,-5,-2,-9,0,-9,-8,-5,-8,-1. 1
 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1, 0, -1, -2, -5, -2, -9, 0, -9, -8, -5, -8, -1, 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1, 0, -1, -2, -5, -2, -9, 0, -9, -8, -5, -8, -1, 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1, 0, -1, -2, -5, -2, -9, 0, -9, -8, -5, -8, -1, 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1, 0, -1, -2, -5, -2, -9, 0, -9, -8, -5, -8, -1, 0, 1, 2, 5, 2, 9, 0, 9, 8 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,-1). FORMULA O.g.f.: x(x^2+1)(x^8+8x^7+4x^6+5x^4+4x^2+2x+1)/((x^4+1)(x^8-x^4+1)) . Also a(n)=b(n-2)+b(n), n>=2, where b(n) = 1, 2, 4, 0, 5, 0, 4, 8, 1, 0, 0, 0, -1, -2, -4, 0, -5, 0, -4, -8, -1, 0, 0, 0, extended with period 24. - R. J. Mathar, Jan 15 2008 PROG (PARI) a(n)=[0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1][n%12+1]*(-1)^(n\12) \\ Charles R Greathouse IV, Jul 26 2016 CROSSREFS Sequence in context: A240223 A134349 A131711 * A070633 A266256 A247551 Adjacent sequences:  A131198 A131199 A131200 * A131202 A131203 A131204 KEYWORD sign,easy AUTHOR Paul Curtz, Sep 26 2007 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 7 02:44 EDT 2020. Contains 334836 sequences. (Running on oeis4.)