A301960 Number of nX4 0..1 arrays with every element equal to 0, 1 or 4 horizontally or antidiagonally adjacent elements, with upper left element zero.
5, 9, 25, 64, 169, 441, 1156, 3025, 7921, 20736, 54289, 142129, 372100, 974169, 2550409, 6677056, 17480761, 45765225, 119814916, 313679521, 821223649, 2149991424, 5628750625, 14736260449, 38580030724, 101003831721, 264431464441
Offset: 1
Keywords
Examples
Some solutions for n=5 ..0..0..1..0. .0..1..1..0. .0..0..1..0. .0..1..0..1. .0..1..0..1 ..1..1..1..0. .0..0..1..0. .1..1..1..0. .0..1..1..1. .0..1..0..1 ..1..0..1..0. .1..0..1..0. .1..0..1..1. .0..1..0..1. .1..0..1..0 ..1..0..0..0. .1..0..1..0. .1..0..0..1. .0..0..0..1. .1..0..1..1 ..1..0..1..1. .1..0..1..0. .1..1..0..0. .0..1..0..0. .1..0..0..1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A301964.
Formula
Empirical: a(n) = 2*a(n-1) +2*a(n-2) -a(n-3) for n>4
Comments