A197250 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,0,1,1,1 for x=0,1,2,3,4.
1, 2, 2, 1, 4, 1, 1, 8, 8, 1, 3, 16, 3, 16, 3, 3, 40, 53, 53, 40, 3, 2, 80, 110, 275, 110, 80, 2, 4, 192, 227, 780, 780, 227, 192, 4, 6, 400, 1035, 5713, 5062, 5713, 1035, 400, 6, 5, 936, 2004, 16773, 31276, 31276, 16773, 2004, 936, 5, 6, 1984, 7529, 98870, 213912, 405065
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..0..1..1..2....1..2..2..1....1..0..1..1....0..1..1..0....1..0..1..1 ..1..1..0..1....0..1..1..0....1..1..2..0....2..1..4..1....2..1..3..0 ..1..3..2..1....2..1..4..1....0..1..3..1....1..0..1..2....0..1..1..2 ..0..1..1..0....1..0..1..1....1..4..1..3....1..3..1..0....1..1..0..1 ..1..1..4..1....2..1..1..0....1..1..0..1....0..1..1..2....1..4..1..2 ..1..0..1..2....0..1..3..1....0..1..1..2....1..1..0..1....0..1..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..199
Crossrefs
Column 1 is A017817(n+5)
Comments