login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A199237
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 at least one horizontal or vertical neighbor
7
0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 12, 10, 12, 0, 1, 31, 134, 134, 31, 1, 3, 143, 1162, 7772, 1162, 143, 3, 3, 1183, 14159, 233185, 233185, 14159, 1183, 3, 1, 5068, 157598, 2350573, 16467051, 2350573, 157598, 5068, 1, 6, 11594, 1893418, 198168342, 410003607
OFFSET
1,8
COMMENTS
Table starts
.0......0........0..........0...........0...........1...........3.............3
.0......0........3.........12..........31.........143........1183..........5068
.0......3.......10........134........1162.......14159......157598.......1893418
.0.....12......134.......7772......233185.....2350573...198168342....5945464970
.0.....31.....1162.....233185....16467051...410003607.88764401434.6694765030353
.1....143....14159....2350573...410003607.74737706829
.3...1183...157598..198168342.88764401434
.3...5068..1893418.5945464970
.1..11594.22549653
.6.133430
LINKS
EXAMPLE
Some solutions for n=6 k=4
..0..1..0..0....0..0..0..0....0..1..0..0....0..0..0..0....0..0..0..0
..0..1..0..0....0..0..1..1....0..1..2..0....0..0..1..2....0..1..2..2
..1..2..2..2....1..1..2..2....2..2..2..2....2..2..1..2....0..1..1..2
..1..2..2..2....1..2..2..2....0..1..1..2....0..0..1..2....2..2..1..0
..2..2..0..0....0..2..1..2....0..0..1..1....2..1..1..2....2..2..1..0
..1..1..1..1....0..1..1..2....1..1..2..2....2..1..1..1....2..1..1..1
CROSSREFS
Column 1 is A199034
Sequence in context: A283071 A060523 A199041 * A309651 A305541 A280810
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Nov 04 2011
STATUS
approved