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.

A297798 Number of nX4 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 2, 3 or 5 neighboring 1s.

Original entry on oeis.org

1, 24, 100, 422, 2936, 17899, 104985, 645568, 3978117, 24326196, 149160149, 916286494, 5624456404, 34523088073, 211969293298, 1301435980104, 7990173493126, 49057461019439, 301200758005780, 1849287533799779
Offset: 1

Views

Author

R. H. Hardin, Jan 06 2018

Keywords

Comments

Column 4 of A297802.

Examples

			Some solutions for n=7
..0..0..0..0. .0..1..1..0. .0..1..0..0. .0..1..0..0. .0..0..1..0
..1..1..0..0. .0..1..1..1. .1..0..1..1. .1..0..1..0. .1..1..1..1
..1..1..1..0. .1..1..0..1. .0..1..1..0. .0..1..0..0. .0..1..0..0
..0..1..0..0. .0..1..1..0. .0..1..0..0. .0..1..1..1. .0..0..1..1
..0..0..1..0. .0..0..0..0. .1..0..1..0. .0..1..1..1. .0..0..1..1
..0..1..1..0. .0..1..1..1. .0..1..1..0. .0..1..1..0. .0..0..1..1
..0..1..1..0. .1..1..1..0. .1..1..1..1. .0..0..0..0. .0..1..1..0
		

Crossrefs

Cf. A297802.

Formula

Empirical: a(n) = 4*a(n-1) +8*a(n-2) +78*a(n-3) -160*a(n-4) -479*a(n-5) -2307*a(n-6) +1247*a(n-7) +8040*a(n-8) +26223*a(n-9) +7293*a(n-10) -45535*a(n-11) -126351*a(n-12) -93834*a(n-13) +77482*a(n-14) +231611*a(n-15) +268460*a(n-16) +15257*a(n-17) -117778*a(n-18) -296161*a(n-19) -144406*a(n-20) +17812*a(n-21) +175680*a(n-22) +215312*a(n-23) +98502*a(n-24) -77039*a(n-25) -44779*a(n-26) -73938*a(n-27) +43490*a(n-28) +8246*a(n-29) +12107*a(n-30) -1278*a(n-31) -5045*a(n-32) +257*a(n-33) -259*a(n-34) +109*a(n-35) +43*a(n-36) -6*a(n-37)