login
Number of n X 5 0..2 arrays with no element equal to any value at offset (-2,-1) (-1,0) or (-1,1) and new values introduced in order 0..2.
1

%I #6 May 10 2021 12:18:06

%S 41,256,317,482,1465,4603,14643,46799,149772,479722,1538582,4942028,

%T 15891866,51127466,164489244,529125544,1701961499,5474696445,

%U 17611978722,56660560468,182287542046,586443173365,1886643497675,6069534405199

%N Number of n X 5 0..2 arrays with no element equal to any value at offset (-2,-1) (-1,0) or (-1,1) and new values introduced in order 0..2.

%C Column 5 of A275183.

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

%F Empirical: a(n) = 16*a(n-1) -120*a(n-2) +561*a(n-3) -1820*a(n-4) +4313*a(n-5) -7688*a(n-6) +10549*a(n-7) -11473*a(n-8) +10333*a(n-9) -8076*a(n-10) +5538*a(n-11) -3198*a(n-12) +1466*a(n-13) -508*a(n-14) +120*a(n-15) -12*a(n-16) for n > 21.

%e Some solutions for n=4

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

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

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

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

%Y Cf. A275183.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jul 19 2016