|
| |
|
|
A105368
|
|
Expansion of (1-x-x^3+x^4)/(1-x^5).
|
|
2
| |
|
|
1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1, -1, 0, -1, 1, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Periodic {1,-1,0,-1,1}. Partial sums are A105367.
Binomial transform of A105369. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 29 2010]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (-1,-1,-1,-1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 29 2010]
|
|
|
FORMULA
| G.f.: (1-x)(1-x^3)/(1-x^5); a(n)=(1/2-sqrt(5)/10)cos(4*pi*n/5)-sqrt(1/2+sqrt(5)/10)sin(4*pi*n/5)+ (1/2+sqrt(5)/10)cos(2*pi*n/5)-sqrt(1/2-sqrt(5)/10)sin(2*pi*n/5)
a(n)=(1/5)*{-2*[(n+1) mod 5]+[(n+2) mod 5]-[(n+3) mod 5]2*[(n+4) mod 5]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 01 2007
a(n) = -a(n-1) -a(n-2) -a(n-3) -a(n-4). G.f.: (1-x)*(1+x+x^2)/(1+x+x^2+x^3+x^4) [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 29 2010]
|
|
|
CROSSREFS
| Sequence in context: A181183 A005713 A085241 * A138019 A179850 A097343
Adjacent sequences: A105365 A105366 A105367 * A105369 A105370 A105371
|
|
|
KEYWORD
| easy,sign
|
|
|
AUTHOR
| Paul Barry (pbarry(AT)wit.ie), Apr 01 2005
|
| |
|
|