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

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

%S 1,1,1,2,7,2,3,10,10,3,5,23,27,23,5,8,49,68,68,49,8,13,98,206,295,206,

%T 98,13,21,209,573,1029,1029,573,209,21,34,431,1596,3932,5538,3932,

%U 1596,431,34,55,898,4526,15029,27396,27396,15029,4526,898,55,89,1871,12751,56415

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

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

%C Table starts

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

%C ..1....7....10.....23.......49........98........209..........431...........898

%C ..2...10....27.....68......206.......573.......1596.........4526.........12751

%C ..3...23....68....295.....1029......3932......15029........56415........213788

%C ..5...49...206...1029.....5538.....27396.....140502.......717269.......3649093

%C ..8...98...573...3932....27396....187787....1281418......8817196......60491511

%C .13..209..1596..15029...140502...1281418...11937347....110090749....1017881679

%C .21..431..4526..56415...717269...8817196..110090749...1373281599...17078587746

%C .34..898.12751.213788..3649093..60491511.1017881679..17078587746..286527796314

%C .55.1871.35868.807845.18612672.414940896.9413849312.212799550983.4806834481173

%H R. H. Hardin, <a href="/A196329/b196329.txt">Table of n, a(n) for n = 1..264</a>

%e Some solutions for n=6 k=4

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

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

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

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

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

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

%Y Column 1 is A000045

%Y Column 2 is A183330

%K nonn,tabl

%O 1,4

%A _R. H. Hardin_ Oct 01 2011