OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Richard M. Low and Ardak Kapbasov, Non-Attacking Bishop and King Positions on Regular and Cylindrical Chessboards, Journal of Integer Sequences, Vol. 20 (2017), Article 17.6.1, Table 1.
Index entries for linear recurrences with constant coefficients, signature (3,0,2,4,-10,-2,0,-1,1).
FORMULA
G.f.: (-1-5*x-x^2+7*x^3+5*x^4-x^5+x^6-x^7) / (-1+3*x +2*x^3 +4*x^4 -10*x^5 -2*x^6 -x^8 +x^9).
MATHEMATICA
CoefficientList[Series[(-1 - 5 x - x^2 + 7 x^3 + 5 x^4 - x^5 + x^6 - x^7)/(-1 + 3 x + 2 x^3 + 4 x^4 - 10 x^5 - 2 x^6 - x^8 + x^9), {x, 0, 27}], x] (* Michael De Vlieger, May 20 2017 *)
PROG
(PARI) Vec((-1-5*x-x^2+7*x^3+5*x^4-x^5+x^6-x^7)/ (-1+3*x+2*x^3 +4*x^4-10*x^5-2*x^6-x^8+x^9) + O(x^30)) \\ Michel Marcus, May 20 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Richard M. Low, May 20 2017
STATUS
approved