A197672 T(n,k)=Number of nXk 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 4,0,1,0,1 for x=0,1,2,3,4.
1, 3, 3, 4, 9, 4, 5, 22, 22, 5, 9, 71, 95, 71, 9, 16, 217, 546, 546, 217, 16, 25, 642, 2765, 5005, 2765, 642, 25, 39, 1963, 14503, 44323, 44323, 14503, 1963, 39, 64, 5963, 74812, 403960, 709083, 403960, 74812, 5963, 64, 105, 18018, 386556, 3675345, 11277331
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..0..3..0..0....1..1..2..1....0..1..2..0....1..0..0..0....0..2..1..0 ..0..0..0..3....0..0..0..0....1..4..1..0....2..0..3..0....0..1..4..1 ..0..0..3..0....0..3..0..0....2..1..1..0....1..0..1..2....0..1..1..1 ..2..1..2..0....0..2..1..2....0..0..3..0....1..1..4..1....0..3..0..0 ..1..4..1..0....0..1..4..1....0..3..0..0....0..1..1..0....0..0..0..0 ..0..1..1..0....0..2..1..0....1..1..0..0....0..1..1..0....0..0..3..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..143
Crossrefs
Column 1 is A195971
Comments