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

%I #5 Mar 31 2012 12:37:03

%S 506,4041,4041,33785,41353,33785,242852,457852,457852,242852,1834500,

%T 4566666,7062216,4566666,1834500,14289768,48128792,94983268,94983268,

%U 48128792,14289768,108053748,523821125,1407027760,1616210763,1407027760

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

%C Table starts

%C .......506........4041.........33785.........242852........1834500

%C ......4041.......41353........457852........4566666.......48128792

%C .....33785......457852.......7062216.......94983268.....1407027760

%C ....242852.....4566666......94983268.....1616210763....33301704234

%C ...1834500....48128792....1407027760....33301704234..1021853269087

%C ..14289768...523821125...21551078590...691810208216.31154215435107

%C .108053748..5530809140..310518886748.13020576504578

%C .821739738.58869604914.4578824217729

%H R. H. Hardin, <a href="/A204954/b204954.txt">Table of n, a(n) for n = 1..60</a>

%e Some solutions for n=3 k=3

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

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

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

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

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

%K nonn,tabl

%O 1,1

%A _R. H. Hardin_ Jan 20 2012