login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158678 Period 18: repeat 0,0,0,3,0,0,0,3,0,-3,0,3,0,-3,0,0,0,-3. 0
0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3, 0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3, 0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

FORMULA

a(n) = A158674(n) - A158677(n) = a(n-18).

a(n)=(1/6)*{-(n mod 18)+[(n+1) mod 18]-[(n+4) mod 18]+[(n+5) mod 18]+[(n+6) mod 18]-[(n+7) mod 18]-[(n+8) mod 18]+[(n+9) mod 18]+[(n+10) mod 18]-[(n+11) mod 18]+[(n+14) mod 18]-[(n+15) mod 18]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Mar 27 2009]

G.f.: 3*(1+x+x^2)*(x^2-x+1)*(x^4-x^2+1)*x^4/((x^6-x^3+1)*(x^6+x^3+1)). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 08 2009

CROSSREFS

Sequence in context: A090225 A206705 A200221 * A117980 A065032 A007514

Adjacent sequences:  A158675 A158676 A158677 * A158679 A158680 A158681

KEYWORD

sign,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Mar 24 2009

EXTENSIONS

Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 08 2009

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 .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.