A199246 T(n,k)=Number of nXk 0..2 arrays with values 0..2 introduced in row major order, the number of instances of each value within one of each other, and every element equal to zero or two horizontal or vertical neighbors.
1, 1, 1, 1, 2, 1, 3, 2, 2, 3, 6, 12, 6, 12, 6, 5, 36, 25, 25, 36, 5, 19, 39, 110, 440, 110, 39, 19, 37, 288, 472, 2907, 2907, 472, 288, 37, 29, 836, 2080, 7100, 29227, 7100, 2080, 836, 29, 124, 888, 9279, 134821, 106134, 106134, 134821, 9279, 888, 124, 240, 7380, 41704
Offset: 1
Examples
Some solutions for n=6 k=4 ..0..1..2..1....0..1..0..1....0..1..2..0....0..1..0..2....0..1..2..0 ..1..0..1..0....2..0..1..2....1..2..0..2....1..0..2..1....1..0..0..1 ..0..1..0..2....0..1..2..1....0..1..2..1....0..2..1..2....2..0..0..2 ..2..0..2..0....2..2..1..0....1..0..1..2....1..0..2..1....0..2..1..0 ..1..2..1..2....2..2..0..1....0..2..0..1....0..2..0..2....1..1..2..2 ..2..0..2..1....0..1..2..0....2..1..2..0....1..0..2..1....1..1..2..2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..111
Crossrefs
Column 1 is A199126
Comments