|
| |
|
|
A128016
|
|
Expansion of (1+x+x^2+x^3)/(1-x^2+x^4).
|
|
1
| |
|
|
1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, -2, -2, -1, -1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| Periodic{1,1,2,2,1,1,-1,-1,-2,-2,-1,-1}.
|
|
|
FORMULA
| G.f.: (1-x^4)/(1-x-x^2+x^3+x^4-x^5); a(n)=cos(5*pi*n/6)/2+(1-sqrt(3)/2)sin(5*pi*n/6)+cos(pi*n/6)/2+(1+sqrt(3)/2)sin(pi*n/6);
a(n)=(1/12)*{-2*[n mod 12]-[(n+2) mod 12]+[(n+4) mod 12]+2*[(n+6) mod 12]+[(n+8) mod 12]-[(n+10) mod 12]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 01 2007
|
|
|
CROSSREFS
| Cf. A128017.
Sequence in context: A138385 A030614 * A128017 A096285 A175078 A121561
Adjacent sequences: A128013 A128014 A128015 * A128017 A128018 A128019
|
|
|
KEYWORD
| easy,sign
|
|
|
AUTHOR
| Paul Barry (pbarry(AT)wit.ie), Feb 11 2007
|
| |
|
|