A196809 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 4,2,3,0,1 for x=0,1,2,3,4.
1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 7, 16, 7, 1, 1, 17, 37, 37, 17, 1, 1, 41, 120, 193, 120, 41, 1, 1, 99, 420, 1515, 1515, 420, 99, 1, 1, 239, 1468, 8719, 19449, 8719, 1468, 239, 1, 1, 577, 4801, 52291, 166682, 166682, 52291, 4801, 577, 1, 1, 1393, 15885, 334317, 1730105
Offset: 1
Examples
Some solutions for n=6 k=4 ..0..0..0..0....0..0..0..0....0..3..0..0....0..0..3..0....0..3..0..0 ..0..3..0..3....0..3..2..0....3..0..3..0....0..0..0..0....0..0..0..0 ..0..2..1..0....3..0..3..0....0..0..3..0....0..0..1..0....3..0..0..0 ..0..3..0..0....0..3..0..0....3..0..0..0....0..3..2..1....0..3..0..3 ..3..0..0..0....0..2..3..0....0..0..0..0....0..0..3..0....1..2..3..0 ..0..3..0..0....0..0..0..0....0..3..0..0....0..3..0..0....0..1..0..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..220
Crossrefs
Column 2 is A001333(n-1)
Comments