login
Number of nX1 0..2 arrays with values 0..2 introduced in row major order, the number of instances of each value within one of each other, and every element equal to one or two horizontal or vertical neighbors
2

%I #6 Mar 31 2012 12:36:35

%S 0,0,0,0,0,1,3,3,1,6,15,15,75,126,71,397,786,550,3043,5730,3660,20610,

%T 39843,26407,149468,288070,188649,1074387,2082753,1372608,7852896,

%U 15252825,10045040,57692788,112347998,74107005,427035846,833163180

%N Number of nX1 0..2 arrays with values 0..2 introduced in row major order, the number of instances of each value within one of each other, and every element equal to one or two horizontal or vertical neighbors

%C Column 1 of A199041

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

%e All solutions for n=7

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

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

%e ..1....1....0

%e ..1....1....1

%e ..2....1....1

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

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

%K nonn

%O 1,7

%A _R. H. Hardin_ Nov 02 2011