login
T(n,k) = Number of (n+2) X (k+2) 0..3 arrays with every 3 X 3 subblock having three equal elements in a row horizontally, vertically, diagonally or antidiagonally, and new values 0..3 introduced in row major order.
4

%I #7 Jun 07 2021 14:25:05

%S 4600,162622,162622,6255285,17432664,6255285,215282843,2025234324,

%T 2025234324,215282843,7670500426,191371916425,719028603457,

%U 191371916425,7670500426,276834777101,19644326343062,199026930961817,199026930961817

%N T(n,k) = Number of (n+2) X (k+2) 0..3 arrays with every 3 X 3 subblock having three equal elements in a row horizontally, vertically, diagonally or antidiagonally, and new values 0..3 introduced in row major order.

%C Table starts

%C .........4600.........162622.........6255285.......215282843........7670500426

%C .......162622.......17432664......2025234324....191371916425....19644326343062

%C ......6255285.....2025234324....719028603457.199026930961817.61221086708065061

%C ....215282843...191371916425.199026930961817

%C ...7670500426.19644326343062

%C .276834777101

%H R. H. Hardin, <a href="/A204655/b204655.txt">Table of n, a(n) for n = 1..24</a>

%e Some solutions for n=3, k=3

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

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

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

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

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

%K nonn,tabl

%O 1,1

%A _R. H. Hardin_ Jan 17 2012