A197679 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 2,0,1,0,1 for x=0,1,2,3,4.
1, 3, 3, 4, 9, 4, 5, 16, 16, 5, 9, 33, 57, 33, 9, 16, 73, 202, 202, 73, 16, 25, 160, 721, 1111, 721, 160, 25, 39, 361, 2557, 5639, 5639, 2557, 361, 39, 64, 835, 8930, 29190, 45162, 29190, 8930, 835, 64, 105, 1966, 31326, 153715, 358209, 358209, 153715, 31326, 1966
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..1..0..0..0....1..1..1..1....1..2..2..1....2..1..0..0....0..0..0..1 ..1..0..3..0....0..0..0..0....0..1..1..0....1..4..1..1....3..0..3..2 ..1..1..1..0....0..3..0..0....0..1..4..1....0..1..1..1....0..0..0..1 ..0..1..1..0....0..1..1..1....0..1..1..1....0..3..0..0....1..1..1..1 ..1..1..4..1....1..4..1..1....0..3..0..0....3..0..3..1....1..4..1..0 ..1..0..1..2....2..1..0..0....0..0..0..0....0..0..0..1....0..1..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..180
Comments