login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of (2+1) X (n+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally or antidiagonally.
1

%I #6 Mar 09 2023 17:25:27

%S 4,34,320,2958,27692,250934,2338508,21159320,192619880,1767181410,

%T 16165706444,147550684090,1348528674604,12330783808396,

%U 112700663242560,1029964489404282,9413986758909060,86046903897714270,786467010156728596

%N Number of (2+1) X (n+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally or antidiagonally.

%C Row 2 of A232908.

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

%F Empirical: a(n) = 2*a(n-1) +22*a(n-2) +284*a(n-3) +1034*a(n-4) +1536*a(n-5) -10076*a(n-6) -58252*a(n-7) +51408*a(n-8) +498496*a(n-9) -391702*a(n-10) -7998492*a(n-11) -4700227*a(n-12) +44572282*a(n-13) -40476506*a(n-14) -186165084*a(n-15) +241000952*a(n-16) +553905740*a(n-17) +53162532*a(n-18) -1539394488*a(n-19) +525708784*a(n-20) +2909661120*a(n-21) -4710162944*a(n-22) +146430976*a(n-23) +3625709568*a(n-24) -4520968192*a(n-25) +1704722432*a(n-26) -506986496*a(n-27) -700448768*a(n-28) +167772160*a(n-29) for n>30.

%e Some solutions for n=5

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

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

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

%Y Cf. A232908.

%K nonn

%O 1,1

%A _R. H. Hardin_, Dec 02 2013