A197317 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,1,1,0,0 for x=0,1,2,3,4.
1, 1, 1, 2, 0, 2, 1, 3, 3, 1, 2, 2, 5, 2, 2, 4, 9, 10, 10, 9, 4, 2, 6, 128, 160, 128, 6, 2, 4, 27, 79, 152, 152, 79, 27, 4, 8, 18, 249, 790, 1033, 790, 249, 18, 8, 4, 83, 662, 2724, 4780, 4780, 2724, 662, 83, 4, 8, 56, 2767, 6242, 24903, 24704, 24903, 6242, 2767, 56, 8, 16, 257
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..0..1..1..2....0..1..1..0....1..1..2..0....0..1..1..0....0..1..1..0 ..3..0..2..1....1..2..0..3....0..2..1..1....3..0..2..1....3..0..2..1 ..0..4..0..1....1..0..4..0....3..0..3..0....0..4..0..1....0..4..0..1 ..3..0..3..0....0..4..0..1....0..4..0..1....3..0..3..0....1..0..4..0 ..0..2..1..1....3..0..2..1....3..0..2..1....0..2..1..1....1..2..0..3 ..1..1..2..0....0..1..1..0....0..1..1..2....1..1..2..0....2..1..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..180
Crossrefs
Column 1 is A060547(n-2)
Comments