A197274 Number of n X 2 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 2,0,1,1,1 for x=0,1,2,3,4.
3, 9, 14, 29, 67, 134, 275, 583, 1210, 2511, 5245, 10926, 22745, 47405, 98774, 205765, 428731, 893294, 1861163, 3877815, 8079642, 16834247, 35074949, 73080470, 152266769, 317255517, 661018310, 1377265789, 2869604691, 5978971062
Offset: 1
Keywords
Examples
Some solutions for n=4: ..2..1....0..0....0..1....0..1....2..1....0..0....2..1....1..0....1..0....0..1 ..1..0....0..0....1..1....0..1....1..0....1..1....1..0....3..1....1..0....1..3 ..1..0....0..0....1..0....0..1....1..0....1..1....1..1....1..1....1..0....1..1 ..2..1....0..0....2..1....1..2....1..0....0..0....0..1....0..0....1..0....0..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..200
Crossrefs
Cf. A197280.
Formula
Empirical: a(n) = 2*a(n-1) +2*a(n-3) -2*a(n-4) -2*a(n-5) -a(n-6) -2*a(n-7).
Empirical g.f.: (1 + x)^2*(3 - 3*x - x^2 - 2*x^4) / (1 - 2*x - 2*x^3 + 2*x^4 + 2*x^5 + x^6 + 2*x^7). - Colin Barker, May 11 2018
Comments