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”).

A196287
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 2,0,3,1,4 for x=0,1,2,3,4
7
1, 3, 3, 4, 5, 4, 5, 8, 8, 5, 8, 17, 7, 17, 8, 12, 34, 50, 50, 34, 12, 17, 62, 111, 335, 111, 62, 17, 25, 123, 259, 882, 882, 259, 123, 25, 37, 243, 728, 2998, 3621, 2998, 728, 243, 37, 54, 471, 1800, 13533, 22971, 22971, 13533, 1800, 471, 54, 79, 924, 4696, 57281
OFFSET
1,2
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 0's, every 2 is next to 2 3's, every 3 is next to 3 1's, every 4 is next to 4 4's
Table starts
..1...3.....4......5........8........12..........17...........25.............37
..3...5.....8.....17.......34........62.........123..........243............471
..4...8.....7.....50......111.......259.........728.........1800...........4696
..5..17....50....335......882......2998.......13533........57281.........234589
..8..34...111....882.....3621.....22971......138924.......684002........3547662
.12..62...259...2998....22971....193137.....1306488.....10441374.......87352550
.17.123...728..13533...138924...1306488....13307143....182868341.....2172296568
.25.243..1800..57281...684002..10441374...182868341...3369153109....48734434499
.37.471..4696.234589..3547662..87352550..2172296568..48734434499..1022753961763
.54.924.12185.894628.21119073.710287441.23151489546.745373469270.25671148871894
LINKS
EXAMPLE
Some solutions for n=6 k=4
..1..3..1..0....1..1..0..1....0..0..1..1....0..0..1..1....0..1..3..1
..0..1..1..0....0..3..1..1....1..3..1..0....1..1..1..0....0..3..1..0
..1..1..3..1....0..1..1..0....3..1..3..1....3..1..1..1....0..1..1..0
..1..0..0..1....0..3..1..0....1..0..0..1....1..0..0..1....0..3..1..0
..1..1..1..1....1..1..1..0....1..1..3..1....1..1..3..1....0..1..1..0
..0..1..1..0....1..0..1..1....0..1..1..0....0..1..1..0....0..1..1..0
CROSSREFS
Column 1 is A179070(n+2)
Column 2 is A196140
Sequence in context: A196477 A196146 A196314 * A196337 A349784 A298200
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Sep 30 2011
STATUS
approved