login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
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: A134349 A354709 A131711 * A070633 A266256 A247551
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 16:22 EDT 2024. Contains 371780 sequences. (Running on oeis4.)