This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A117452 Periodic{2,-1,1,0,0}-0^n. 2
 1, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0, 2, -1, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,6 COMMENTS Partial sums are A117451. Second partial sums are A117450. LINKS FORMULA G.f.: (1-x+x^2+x^5)/(1-x^5) a(n)=(1/25)*{-9*(n mod 5)+[(n+1) mod 5]+6*[(n+2) mod 5]-9*[(n+3) mod 5]+16*[(n+4) mod 5]}+[(n+2) mod (n+1)]-1, with n>=0. - Paolo P. Lava, Jul 19 2007 CROSSREFS Sequence in context: A029422 A152800 A223730 * A029412 A178670 A026921 Adjacent sequences:  A117449 A117450 A117451 * A117453 A117454 A117455 KEYWORD easy,sign AUTHOR Paul Barry, Mar 16 2006 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .