A197475 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,0,0,0 for x=0,1,2,3,4.
1, 1, 1, 3, 2, 3, 1, 6, 6, 1, 4, 12, 26, 12, 4, 4, 24, 46, 46, 24, 4, 5, 50, 181, 184, 181, 50, 5, 8, 98, 374, 748, 748, 374, 98, 8, 9, 194, 1300, 2824, 5408, 2824, 1300, 194, 9, 13, 394, 2886, 10934, 22672, 22672, 10934, 2886, 394, 13, 17, 786, 9446, 42474, 151748
Offset: 1
Examples
Some solutions containing all values 0 to 4 for n=6 k=4 ..0..3..0..2....2..0..3..0....0..3..0..2....2..0..2..1....1..1..2..0 ..2..0..4..0....0..3..0..3....1..0..4..0....0..4..0..1....0..2..0..1 ..1..1..0..2....2..1..3..0....1..3..0..3....2..0..1..0....1..1..2..1 ..2..0..3..1....0..1..0..3....2..0..3..0....1..2..1..2....0..3..0..2 ..0..3..0..1....2..0..4..0....0..1..1..2....1..0..3..0....3..0..4..0 ..1..1..2..0....1..1..0..2....2..0..2..0....0..3..0..2....0..3..0..2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..241
Crossrefs
Column 1 is A117374(n-2)
Comments