login
Number of n X 1 0..2 arrays with every repeated value in every row and column greater than or equal to the previous repeated value.
3

%I #8 Feb 26 2018 05:53:36

%S 3,9,27,78,222,622,1722,4719,12821,34575,92637,246788,654120,1725900,

%T 4535172,11872941,30977943,80575109,208983471,540606474,1395061474,

%U 3591893274,9228660318,23664610747,60570324105,154763821419,394795932561

%N Number of n X 1 0..2 arrays with every repeated value in every row and column greater than or equal to the previous repeated value.

%C Column 1 of A268019.

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

%F Empirical: a(n) = 6*a(n-1) - 9*a(n-2) - 4*a(n-3) + 9*a(n-4) + 6*a(n-5) + a(n-6).

%F Empirical g.f.: x*(3 - 9*x + 9*x^3 + 6*x^4 + x^5) / (1 - 2*x - x^2)^3. - _Colin Barker_, Feb 26 2018

%e Some solutions for n=8:

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

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

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

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

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

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

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

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

%Y Cf. A268019.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 24 2016