login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A231951
Number of (n+1) X (2+1) 0..1 arrays with every element equal to some horizontal, vertical, diagonal or antidiagonal neighbor, with top left element zero.
1
18, 142, 1034, 7756, 58350, 438540, 3295580, 24766738, 186126146, 1398767358, 10511956032, 78999000742, 593689902080, 4461672883324, 33530172645330, 251984515016934, 1893703217109050, 14231477177253100, 106951786751372582
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 7*a(n-1) + 2*a(n-2) + 13*a(n-3) + 8*a(n-4).
Empirical g.f.: 2*x*(9 + 8*x + 2*x^2) / (1 - 7*x - 2*x^2 - 13*x^3 - 8*x^4). - Colin Barker, Oct 01 2018
EXAMPLE
Some solutions for n=5:
..0..1..1....0..1..0....0..1..1....0..0..1....0..0..0....0..0..0....0..0..1
..0..1..0....0..0..1....1..0..1....0..1..0....1..0..0....1..0..1....1..1..0
..0..1..0....1..0..0....1..1..0....0..1..1....1..1..0....1..1..1....0..0..0
..0..0..1....1..1..1....1..0..1....0..1..0....1..0..1....1..0..1....0..0..1
..1..0..1....1..0..0....1..0..0....1..0..0....0..1..0....1..0..0....1..0..1
..1..1..0....1..1..0....0..0..0....0..1..0....1..0..1....1..1..0....1..0..0
CROSSREFS
Column 2 of A231957.
Sequence in context: A299723 A125355 A299834 * A126513 A232820 A143992
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 15 2013
STATUS
approved