A198185 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 0,2,1,0,0 for x=0,1,2,3,4.
1, 0, 0, 1, 4, 1, 2, 3, 3, 2, 1, 8, 9, 8, 1, 1, 16, 25, 25, 16, 1, 3, 21, 77, 59, 77, 21, 3, 3, 56, 148, 331, 331, 148, 56, 3, 2, 70, 395, 883, 2033, 883, 395, 70, 2, 4, 171, 866, 3485, 8298, 8298, 3485, 866, 171, 4, 6, 256, 2346, 12030, 48958, 51688, 48958, 12030, 2346, 256, 6
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..2..1..1..0....2..1..0..1....0..1..1..2....0..3..0..1....0..1..2..1 ..1..0..2..1....1..0..3..2....1..2..0..1....3..0..3..2....3..0..3..0 ..0..4..0..1....0..4..0..1....1..0..4..0....0..4..0..1....0..4..0..3 ..3..0..1..2....3..0..3..1....2..1..0..3....3..0..3..0....1..0..4..0 ..0..1..1..2....0..3..0..2....2..1..1..0....0..1..1..2....2..3..0..3 ..1..2..0..1....1..2..1..1....1..0..2..1....1..2..0..1....1..0..3..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..179
Crossrefs
Column 1 is A017817(n+3)
Comments