login
Number of nX5 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 0,1,1,0,0 for x=0,1,2,3,4
1

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

%S 2,9,128,152,1033,4780,24903,113774,553807,2751427,13385323,64601708,

%T 318081207,1550881210,7598781154,37018138503,181198882339,

%U 884596380240,4326961466564,21126289404408,103287098681855,504482396779592

%N Number of nX5 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 0,1,1,0,0 for x=0,1,2,3,4

%C Every 0 is next to 0 0's, every 1 is next to 1 1'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 Column 5 of A197317

%H R. H. Hardin, <a href="/A197314/b197314.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions containing all values 0 to 4 for n=4

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

%e ..1..0..4..0..2....1..0..4..0..2....1..3..0..3..1....1..1..0..2..1

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_ Oct 13 2011