cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A159617 G.f.: (1-x)/(1-8*x-8*x^2+8*x^3).

Original entry on oeis.org

1, 7, 64, 560, 4936, 43456, 382656, 3369408, 29668864, 261244928, 2300355072, 20255449088, 178356473856, 1570492542976, 13828748541952, 121767076888576, 1072202663100416, 9441127931576320, 83132508142305280, 732011467286249472
Offset: 0

Views

Author

R. J. Mathar, Apr 17 2009

Keywords

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.

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[(1 - x)/(1 - 8 x - 8 x^2 + 8 x^3), {x, 0, 40}], x] (* Vincenzo Librandi, Dec 11 2012 *)
  • PARI
    Vec((1 - x) / (1 - 8*x - 8*x^2 + 8*x^3) + O(x^25)) \\ Colin Barker, Jul 05 2020

Formula

a(n) = 8*a(n-1) + 8*a(n-2) - 8*a(n-3) for n>2. - Colin Barker, Jul 05 2020
Showing 1-1 of 1 results.