Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A158678
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A158678 Period 18: repeat 0,0,0,3,0,0,0,3,0,-3,0,3,0,-3,0,0,0,-3. +0
1
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; listen)
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 (ppl(AT)spl.at), 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: A036873 A081130 A090225 this_sequence A117980 A065032 A007514

Adjacent sequences: A158675 A158676 A158677 this_sequence 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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research