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.

A229639 Number of defective 3-colorings of a 3 X n 0..2 array connected horizontally, diagonally and antidiagonally with exactly two mistakes, and colors introduced in row-major 0..2 order.

Original entry on oeis.org

0, 39, 244, 1109, 6031, 28448, 136778, 633328, 2905016, 13118016, 58633648, 259523840, 1139461984, 4967050352, 21516000592, 92679568016, 397212173264, 1694694809008, 7200709256752, 30481238674128, 128588345884944
Offset: 1

Views

Author

R. H. Hardin, Sep 27 2013

Keywords

Comments

Row 3 of A229637.

Examples

			Some solutions for n=3:
  0 1 1   0 0 1   0 1 2   0 1 0   0 1 0   0 1 0   0 1 2
  2 1 0   1 2 1   0 1 0   1 2 1   2 1 0   2 1 0   0 1 2
  2 1 0   1 0 0   1 2 1   1 0 1   1 1 0   1 2 0   1 0 2
		

Formula

Empirical: a(n) = 9*a(n-1) - 15*a(n-2) - 51*a(n-3) + 96*a(n-4) + 138*a(n-5) - 92*a(n-6) - 60*a(n-7) +4 8*a(n-8) - 8*a(n-9) for n > 12.