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 3Xn 0..4 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 5, and upper left element zero
1

%I #4 Oct 23 2013 16:06:06

%S 0,0,0,2,60,868,9088,94014,952214,9576232,95959204,960268542,

%T 9603585810,96019822428,959931905582,9596196300556,95928783074542,

%U 958947698251704,9586040720227362,95825901621540374,957913418736911646

%N Number of 3Xn 0..4 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 5, and upper left element zero

%C Row 3 of A230571

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

%F Empirical: a(n) = 22*a(n-1) -162*a(n-2) +409*a(n-3) +388*a(n-4) -3015*a(n-5) +2506*a(n-6) -4076*a(n-7) +7976*a(n-8) +140644*a(n-9) -458654*a(n-10) +278989*a(n-11) +360330*a(n-12) -2153395*a(n-13) +8750440*a(n-14) -14307500*a(n-15) +16123328*a(n-16) +1546948*a(n-17) -97073348*a(n-18) +53638575*a(n-19) +153498981*a(n-20) +158024605*a(n-21) +52294199*a(n-22) -499772093*a(n-23) -921700782*a(n-24) -723232664*a(n-25) +243012309*a(n-26) +1919263278*a(n-27) +3510301720*a(n-28) +4169769770*a(n-29) +3563068834*a(n-30) +1865152198*a(n-31) -205837046*a(n-32) -1847181580*a(n-33) -2630123573*a(n-34) -2533979654*a(n-35) -1882609987*a(n-36) -1099365213*a(n-37) -478202667*a(n-38) -112824444*a(n-39) +28205889*a(n-40) +42838166*a(n-41) +22770714*a(n-42) +2642564*a(n-43) -5698328*a(n-44) -4688168*a(n-45) -2142624*a(n-46) -800160*a(n-47) -56448*a(n-48) for n>51

%e Some solutions for n=5

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

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

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

%K nonn

%O 1,4

%A _R. H. Hardin_, Oct 23 2013