OFFSET
1,21
COMMENTS
Same as the 12th-order equation given in the Mathematica program. - T. D. Noe, Feb 22 2012
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0,-1,0,-1,0,-1,0,1,0,1,0,1).
FORMULA
G.f.: -x*(x^2-x+1)*(x^2+x+1)*(2*x^7+x^6+x^5+x^4+x^3+x^2+x+1) / (x^12+x^10+x^8-x^6-x^4-x^2-1). - Colin Barker, Mar 17 2015
MATHEMATICA
LinearRecurrence[{0, -1, 0, -1, 0, -1, 0, 1, 0, 1, 0, 1}, {1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1}, 100] (* T. D. Noe, Feb 22 2012 *)
PROG
(PARI) Vec(-x*(x^2-x+1)*(x^2+x+1)*(2*x^7+x^6+x^5+x^4+x^3+x^2+x+1) / (x^12+x^10+x^8-x^6-x^4-x^2-1) + O(x^100)) \\ Colin Barker, Mar 17 2015
CROSSREFS
KEYWORD
easy,nice,sign
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 10 1999
STATUS
approved