OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
John Tromp, Number of legal 2xn Go positions
J. Tromp and G. Farnebäck, Combinatorics of Go, Lecture Notes in Computer Science, 4630, 84-99, 2007.
Index entries for linear recurrences with constant coefficients, signature (10,-16,31,-13,20,2,-1).
FORMULA
a(n) = 10*a(n-1)-16*a(n-2)+31*a(n-3)-13*a(n-4)+20*a(n-5)+2*a(n-6)-a(n-7).
G.f.: x*(1 + x)^2*(5 - 3*x - 5*x^3 - x^4) / ((1 + x^2)*(1 - 10*x + 15*x^2 - 21*x^3 - 2*x^4 + x^5)). - Colin Barker, Jan 05 2018
EXAMPLE
For n = 1, the a(1) = 5 legal 2 X 1 boards are .. X. O. .X .O
PROG
(PARI) Vec(x*(1 + x)^2*(5 - 3*x - 5*x^3 - x^4) / ((1 + x^2)*(1 - 10*x + 15*x^2 - 21*x^3 - 2*x^4 + x^5)) + O(x^40)) \\ Colin Barker, Jan 05 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Felix Fröhlich, Dec 26 2015
EXTENSIONS
Corrected and edited by John Tromp, Jan 26 2016
STATUS
approved