|
| |
|
|
A154870
|
|
7,5,1,-7,-5,-1 repeated with period length 6.
|
|
1
| |
|
|
7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1, -7, -5, -1, 7, 5, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| The sequence b(n) = (-A153130(n)) mod 9 = A153130(n+3) = A146501(n-1) = 8, 7, 5, 1, 2, 4,... has period length 6. This here is a(n)=b(n)-A153130(n).
|
|
|
FORMULA
| a(n)=(1/3)*{-4*(n mod 6)-2*[(n+1) mod 6]-[(n+2) mod 6]+4*[(n+3) mod 6]+2*[(n+4) mod 6]+[(n+5) mod 6]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jan 19 2009]
a(n) = -a(n-3). G.f.: (7+5x+x^2)/((1+x)(1-x+x^2)). [R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 23 2009]
|
|
|
CROSSREFS
| Sequence in context: A156536 A110191 A021575 * A098687 A021137 A196486
Adjacent sequences: A154867 A154868 A154869 * A154871 A154872 A154873
|
|
|
KEYWORD
| sign,easy
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Jan 16 2009
|
|
|
EXTENSIONS
| Edited and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 23 2009
|
| |
|
|