login
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 1,4,0,2,3 for x=0,1,2,3,4
6

%I #5 Mar 31 2012 12:36:25

%S 1,1,1,2,7,2,3,10,10,3,5,23,30,23,5,8,57,88,88,57,8,13,122,299,495,

%T 299,122,13,21,275,978,2223,2223,978,275,21,34,623,3132,10854,16949,

%U 10854,3132,623,34,55,1394,10106,53647,119487,119487,53647,10106,1394,55,89

%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 1,4,0,2,3 for x=0,1,2,3,4

%C Every 0 is next to 0 1's, every 1 is next to 1 4's, every 2 is next to 2 0's, every 3 is next to 3 2's, every 4 is next to 4 3's

%C Table starts

%C ..1....1......2.......3.........5...........8...........13.............21

%C ..1....7.....10......23........57.........122..........275............623

%C ..2...10.....30......88.......299.........978.........3132..........10106

%C ..3...23.....88.....495......2223.......10854........53647.........262013

%C ..5...57....299....2223.....16949......119487.......869434........6327405

%C ..8..122....978...10854....119487.....1300388.....13932416......150048836

%C .13..275...3132...53647....869434....13932416....224664284.....3596759057

%C .21..623..10106..262013...6327405...150048836...3596759057....86035336419

%C .34.1394..32721.1280764..45825170..1620592121..57811730338..2056052205956

%C .55.3133.105779.6254945.332648911.17491804071.929821862056.49191557937439

%H R. H. Hardin, <a href="/A196343/b196343.txt">Table of n, a(n) for n = 1..220</a>

%e Some solutions for n=6 k=4

%e ..0..2..0..0....2..0..0..0....0..2..0..0....0..0..0..0....2..0..0..0

%e ..0..2..2..0....0..0..2..2....0..2..2..2....0..0..0..0....0..2..2..2

%e ..0..0..2..0....2..3..2..0....0..0..0..0....0..2..2..2....2..2..0..0

%e ..0..0..2..0....0..2..0..0....2..2..2..0....0..2..0..0....0..0..0..2

%e ..0..2..2..0....2..2..0..0....0..0..2..0....0..2..2..0....0..0..0..2

%e ..0..2..0..2....0..0..0..0....0..0..2..0....0..0..2..0....0..0..0..0

%Y Column 1 is A000045

%Y Column 2 is A196316

%Y Column 3 is A196317

%K nonn,tabl

%O 1,4

%A _R. H. Hardin_ Oct 01 2011