OFFSET
0,1
COMMENTS
Hankel transform of A174783 is -a(n).
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,-1).
FORMULA
a(n) = -cos(5*Pi*n/6)/3 + sin(5*Pi*n/6)/3 - cos(Pi*n/6)/3 + sin(Pi*n/6)/3 + 2*cos(Pi*n/2)/3 + 2*sin(Pi*n/2)/3.
G.f.: x*(1-x+x^3+x^4) / ( (1+x^2)*(x^4-x^2+1) ). - R. J. Mathar, Feb 10 2015
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, -1}, {0, 1, -1, 0, 1, 1}, 100] (* or *) PadRight[ {}, 120, {0, 1, -1, 0, 1, 1, 0, -1, 1, 0, -1, -1}] (* Harvey P. Dale, Feb 25 2017 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, Mar 29 2010
STATUS
approved