A199655 T(n,k) = Number of n X k 0..2 arrays with values 0..2 introduced in row major order and each element equal to no more than two horizontal and vertical neighbors.
1, 2, 2, 5, 14, 5, 14, 113, 113, 14, 41, 953, 2584, 953, 41, 122, 8037, 59212, 59212, 8037, 122, 365, 67774, 1357484, 3695683, 1357484, 67774, 365, 1094, 571530, 31120632, 230693158, 230693158, 31120632, 571530, 1094, 3281, 4819638, 713445976
Offset: 1
Examples
Some solutions for n=5, k=3 ..0..0..0....0..0..0....0..1..0....0..1..0....0..0..0....0..1..0....0..1..0 ..0..1..0....0..1..0....0..0..2....0..0..2....0..1..0....0..1..1....0..0..2 ..1..1..2....2..0..2....1..1..2....2..2..1....0..0..0....0..2..2....2..1..2 ..1..2..0....0..1..0....2..1..1....1..2..1....1..1..2....2..0..1....0..2..1 ..2..1..2....0..2..2....2..0..2....2..0..2....2..0..1....1..0..2....2..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..143
Crossrefs
Column 1 is A007051(n-1).
Comments