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

A196337
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 4,0,3,1,2 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, 894, 894, 259, 123, 25, 37, 243, 744, 3246, 3793, 3246, 744, 243, 37, 54, 471, 1840, 14973, 25295, 25295, 14973, 1840, 471, 54, 79, 924, 4761, 64423
OFFSET
1,2
COMMENTS
Every 0 is next to 0 4'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 2's
Table starts
..1...3.....4.......5........8.........12..........17............25
..3...5.....8......17.......34.........62.........123...........243
..4...8.....7......50......111........259.........744..........1840
..5..17....50.....335......894.......3246.......14973.........64423
..8..34...111.....894.....3793......25295......169152........868710
.12..62...259....3246....25295.....237905.....1783508......14742650
.17.123...744...14973...169152....1783508....20775275.....288083607
.25.243..1840...64423...868710...14742650...288083607....5845172493
.37.471..4761..270901..4661189..131257701..3804352736...96877056239
.54.924.12491.1067992.28620947.1161104389.45025949276.1661781001020
LINKS
EXAMPLE
Some solutions for n=6 k=4
..1..1..0..0....1..3..1..0....0..1..1..0....0..1..1..0....1..3..1..0
..0..3..1..1....0..1..3..1....0..1..1..0....1..3..1..0....0..1..3..0
..0..1..1..1....0..1..3..1....0..1..1..0....1..3..1..0....1..3..1..0
..1..3..0..0....0..3..1..0....0..1..3..0....0..1..3..0....1..3..1..0
..1..1..0..0....0..1..3..1....0..3..1..1....1..3..1..0....0..1..3..0
..0..1..1..1....1..1..0..1....1..1..0..1....1..0..1..1....0..1..1..0
CROSSREFS
Column 1 is A179070(n+2)
Column 2 is A196140
Sequence in context: A196146 A196314 A196287 * A349784 A298200 A072648
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Oct 01 2011
STATUS
approved