A195978 T(n,k) = Number of n X k 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 2,0,1,3,4 for x=0,1,2,3,4.
1, 3, 3, 4, 9, 4, 5, 14, 14, 5, 9, 23, 24, 23, 9, 16, 43, 36, 36, 43, 16, 25, 78, 67, 67, 67, 78, 25, 39, 139, 134, 133, 133, 134, 139, 39, 64, 249, 240, 256, 244, 256, 240, 249, 64, 105, 450, 432, 455, 519, 519, 455, 432, 450, 105, 169, 815, 803, 931, 1072, 1280, 1072, 931
Offset: 1
Examples
Some solutions for n=6, k=4 ..0..1..1..0....0..0..1..2....2..1..0..1....0..1..1..1....0..1..1..0 ..1..1..1..1....0..0..1..1....1..1..0..1....1..1..0..0....0..1..1..1 ..1..0..0..1....1..1..1..0....0..1..1..1....2..1..0..0....1..1..0..1 ..2..1..1..1....1..1..1..1....0..1..1..0....2..1..0..0....1..1..0..1 ..2..1..1..0....0..0..0..1....0..1..1..0....1..1..1..1....0..1..1..1 ..1..0..1..1....0..0..0..1....1..2..2..1....0..0..1..2....0..1..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..311
Comments