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

A197373
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,4,1,0,1 for x=0,1,2,3,4
7
1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 7, 32, 7, 1, 1, 17, 45, 45, 17, 1, 1, 41, 189, 161, 189, 41, 1, 1, 99, 646, 899, 899, 646, 99, 1, 1, 239, 1873, 4023, 7485, 4023, 1873, 239, 1, 1, 577, 6209, 19387, 50831, 50831, 19387, 6209, 577, 1, 1, 1393, 19883, 92169, 355929, 509018
OFFSET
1,8
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 4's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 1's
Table starts
.1....1.....1.......1.........1..........1............1..............1
.1....1.....3.......7........17.........41...........99............239
.1....3....32......45.......189........646.........1873...........6209
.1....7....45.....161.......899.......4023........19387..........92169
.1...17...189.....899......7485......50831.......355929........2503359
.1...41...646....4023.....50831.....509018......5198997.......54278107
.1...99..1873...19387....355929....5198997.....79831388.....1224953019
.1..239..6209...92169...2503359...54278107...1224953019....27751402365
.1..577.19883..436539..17611057..559939403..18720559109...626740493233
.1.1393.62891.2077281.123747825.5785336959.286695564063.14153165294295
LINKS
EXAMPLE
Some solutions containing all values 0 to 4 for n=6 k=4
..0..0..1..2....2..1..0..0....0..0..0..0....0..3..0..0....0..3..0..0
..0..1..4..1....1..4..1..0....0..3..3..0....0..0..0..3....3..0..0..3
..0..0..1..0....0..1..0..0....3..0..0..0....0..0..0..0....0..0..3..0
..0..0..0..0....0..0..3..0....0..0..1..0....0..0..1..0....0..0..1..0
..0..0..0..3....0..0..3..0....0..1..4..1....0..1..4..1....0..1..4..1
..0..3..0..0....0..3..0..0....0..0..1..2....0..0..1..2....0..0..1..2
CROSSREFS
Column 2 is A001333(n-1). A197368 (col 3), A197369 (col 4).
Sequence in context: A196786 A196746 A196904 * A197529 A165795 A287290
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Oct 14 2011
STATUS
approved