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.

A231398 Number of (2+1)X(n+1) 0..2 arrays with no element unequal to a strict majority of its horizontal, diagonal and antidiagonal neighbors, with values 0..2 introduced in row major order.

Original entry on oeis.org

4, 8, 38, 90, 363, 1163, 3985, 14650, 50088, 185178, 665415, 2425915, 8953631, 32773916, 121530364, 449147910, 1665804417, 6189859849, 22993326811, 85585457988, 318520365520, 1186296435208, 4419902305187, 16469639460901
Offset: 1

Views

Author

R. H. Hardin, Nov 08 2013

Keywords

Comments

Row 2 of A231396

Examples

			Some solutions for n=6
..0..0..1..0..0..1..1....0..1..1..1..1..1..2....0..1..0..0..0..0..1
..0..1..0..1..1..0..0....0..0..1..1..1..2..2....1..0..1..1..0..1..0
..1..0..1..1..0..0..0....0..0..1..1..1..2..2....0..1..1..1..1..0..1
		

Formula

Empirical: a(n) = 4*a(n-1) +12*a(n-2) -43*a(n-3) -103*a(n-4) +278*a(n-5) +418*a(n-6) -1103*a(n-7) -883*a(n-8) +2549*a(n-9) +1514*a(n-10) -4171*a(n-11) -1969*a(n-12) +4818*a(n-13) +1876*a(n-14) -3992*a(n-15) -1124*a(n-16) +2288*a(n-17) +288*a(n-18) -752*a(n-19) +96*a(n-21)