|
|
A159617
|
|
G.f.: (1-x)/(1-8*x-8*x^2+8*x^3).
|
|
2
|
|
|
1, 7, 64, 560, 4936, 43456, 382656, 3369408, 29668864, 261244928, 2300355072, 20255449088, 178356473856, 1570492542976, 13828748541952, 121767076888576, 1072202663100416, 9441127931576320, 83132508142305280, 732011467286249472
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Number of tilings of a 2xn board with squares of 2 colors and dominoes of 2 colors if n>2. The number of tilings is 6 if n=1, and 56 if n=2.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 8*a(n-1) + 8*a(n-2) - 8*a(n-3) for n>2. - Colin Barker, Jul 05 2020
|
|
MATHEMATICA
|
CoefficientList[Series[(1 - x)/(1 - 8 x - 8 x^2 + 8 x^3), {x, 0, 40}], x] (* Vincenzo Librandi, Dec 11 2012 *)
|
|
PROG
|
(PARI) Vec((1 - x) / (1 - 8*x - 8*x^2 + 8*x^3) + O(x^25)) \\ Colin Barker, Jul 05 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|