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”).
%I #7 Apr 21 2021 14:25:31
%S 1305,24951,488880,9644050,190273279,3754660940,74090662687,
%T 1462043624070,28850751949532,569316875475916,11234428121727874,
%U 221690909964158016,4374665008199979702,86326020023629120158
%N Number of (n+2) X (1+2) 0..3 arrays with every consecutive three elements in every row and diagonal having one or two distinct values, and in every column and antidiagonal having two or three distinct values, and new values 0 upwards introduced in row major order.
%C Column 1 of A252844.
%H R. H. Hardin, <a href="/A252841/b252841.txt">Table of n, a(n) for n = 1..210</a>
%F Empirical: a(n) = 18*a(n-1) +86*a(n-2) -994*a(n-3) -1470*a(n-4) +18891*a(n-5) -10972*a(n-6) -137155*a(n-7) +458386*a(n-8) +344754*a(n-9) -5676836*a(n-10) -290377*a(n-11) +43535198*a(n-12) +4287236*a(n-13) -159925545*a(n-14) -268779654*a(n-15) +804335141*a(n-16) +970973386*a(n-17) -2078336878*a(n-18) -3319639002*a(n-19) +754228523*a(n-20) +13419206103*a(n-21) +72399252*a(n-22) -38090979845*a(n-23) +43488031150*a(n-24) +72529489617*a(n-25) -163864590116*a(n-26) -128284546312*a(n-27) +234353759810*a(n-28) +322369699828*a(n-29) -261073472809*a(n-30) -560583960661*a(n-31) +480777800264*a(n-32) +331536383724*a(n-33) -540088407387*a(n-34) +148832751298*a(n-35) +153685452410*a(n-36) -161131796324*a(n-37) +104433106016*a(n-38) -40744783252*a(n-39) -55519917168*a(n-40) +63985060128*a(n-41) -6939859596*a(n-42) -14022945384*a(n-43) +5677863960*a(n-44) -1166047488*a(n-45) +18214560*a(n-46) +517274496*a(n-47) -238736160*a(n-48) -10642752*a(n-49) +22851072*a(n-50) -2846016*a(n-51) -139968*a(n-52) for n > 53.
%e Some solutions for n=2
%e ..0..0..1....0..1..1....0..0..1....0..1..0....0..0..1....0..1..1....0..1..1
%e ..1..0..1....0..2..2....1..0..0....1..0..0....1..2..1....1..0..1....1..2..2
%e ..1..1..2....1..1..2....1..2..2....2..3..3....1..1..2....0..1..0....3..3..0
%e ..2..1..1....2..1..1....2..3..2....3..2..3....0..0..2....2..2..3....1..3..1
%Y Cf. A252844.
%K nonn
%O 1,1
%A _R. H. Hardin_, Dec 22 2014