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”).
%I #5 Mar 31 2012 12:36:28
%S 1,1,1,2,5,2,3,10,10,3,4,23,41,23,4,6,58,150,150,58,6,9,144,665,969,
%T 665,144,9,13,363,2695,7172,7172,2695,363,13,19,917,11424,50864,92206,
%U 50864,11424,917,19,28,2321,47528,367813,1096217,1096217,367813,47528,2321,28
%N 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,2,1,0,0 for x=0,1,2,3,4
%C Every 0 is next to 0 2's, every 1 is next to 1 2's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 0's
%C Table starts
%C ..1....1......2.........3...........4.............6...............9
%C ..1....5.....10........23..........58...........144.............363
%C ..2...10.....41.......150.........665..........2695...........11424
%C ..3...23....150.......969........7172.........50864..........367813
%C ..4...58....665......7172.......92206.......1096217........13530178
%C ..6..144...2695.....50864.....1096217......22335117.......467923636
%C ..9..363..11424....367813....13530178.....467923636.....16686610707
%C .13..917..47528...2646379...164914460....9715240362....589208849137
%C .19.2321.199485..19073997..2020163498..202416969329..20885016359231
%C .28.5878.834267.137434440.24703508188.4212994659413.739404634476424
%H R. H. Hardin, <a href="/A197180/b197180.txt">Table of n, a(n) for n = 1..219</a>
%e Some solutions containing all values 0 to 4 for n=6 k=4
%e ..0..0..0..0....0..1..2..1....2..1..0..0....0..0..0..0....1..0..0..0
%e ..0..4..0..3....0..1..2..1....1..0..4..0....0..0..0..0....2..3..0..0
%e ..3..0..3..0....3..0..3..0....0..3..0..0....3..0..0..3....1..0..4..0
%e ..0..1..2..1....0..4..0..0....1..1..0..3....0..0..4..0....0..0..0..0
%e ..3..0..3..0....0..0..4..0....2..2..3..0....1..0..0..1....0..3..0..3
%e ..0..3..0..0....0..3..0..0....1..1..0..0....2..1..1..2....1..2..1..0
%Y Column 1 is A000930
%K nonn,tabl
%O 1,4
%A _R. H. Hardin_ Oct 11 2011