%I #5 Mar 31 2012 12:37:11
%S 1,1,1,1,4,1,2,17,17,2,5,120,230,120,5,14,884,3284,3284,884,14,41,
%T 6558,47060,91518,47060,6558,41,122,48680,674564,2545230,2545230,
%U 674564,48680,122,365,361422,9669452,70894196,137375464,70894196,9669452,361422,365
%N T(n,k)=Number of nXk 0..4 arrays with no element equal to another within two positions in the same row or column, and new values 0..4 introduced in row major order
%C Table starts
%C ...1......1.........1...........2..............5.............14.............41
%C ...1......4........17.........120............884...........6558..........48680
%C ...1.....17.......230........3284..........47060.........674564........9669452
%C ...2....120......3284.......91518........2545230.......70894196.....1973960628
%C ...5....884.....47060.....2545230......137375464.....7427049378...401471308746
%C ..14...6558....674564....70894196.....7427049378...780158903978.81929751806834
%C ..41..48680...9669452..1973960628...401471308746.81929751806834
%C .122.361422.138605744.54973461294.21705874723550
%H R. H. Hardin, <a href="/A206359/b206359.txt">Table of n, a(n) for n = 1..84</a>
%e Some solutions for n=4 k=3
%e ..0..1..2....0..1..2....0..1..2....0..1..2....0..1..2....0..1..2....0..1..2
%e ..3..4..1....1..0..3....3..4..0....1..0..3....1..3..4....2..0..3....2..3..1
%e ..2..3..0....2..4..0....1..2..3....2..3..4....2..4..0....1..4..0....1..4..0
%e ..4..0..2....4..1..2....2..1..4....3..2..0....0..1..2....3..1..2....3..0..2
%Y Column 1 is A007051(n-3)
%K nonn,tabl
%O 1,5
%A _R. H. Hardin_ Feb 06 2012