login
Number of (n+2)X(3+2) 0..2 arrays with every row, column, diagonal or antidiagonal in each 3X3 subblock summing to a prime
1

%I #4 Dec 09 2014 11:25:28

%S 738,771,1754,5401,18227,62457,213857,735191,2535595,8732059,30044333,

%T 103433297,356211437,1226555559,4222869527,14539251609,50061142057,

%U 172368825829,593481175903,2043402198235,7035653624543,24224571439559

%N Number of (n+2)X(3+2) 0..2 arrays with every row, column, diagonal or antidiagonal in each 3X3 subblock summing to a prime

%C Column 3 of A251819

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

%F Empirical: a(n) = a(n-1) +a(n-2) +13*a(n-3) +31*a(n-4) +43*a(n-5) +25*a(n-6) -64*a(n-7) -125*a(n-8) -49*a(n-9) +79*a(n-10) +119*a(n-11) +20*a(n-12) -53*a(n-13) -42*a(n-14) -12*a(n-15) +6*a(n-16) +4*a(n-17) +4*a(n-18) for n>21

%e Some solutions for n=4

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Dec 09 2014