%I #6 Aug 12 2016 06:55:34
%S 1,1,0,1,2,0,1,0,6,0,1,6,12,24,0,1,0,90,0,120,0,1,20,360,4464,1080,
%T 720,0,1,0,2040,0,493920,0,6300,0,1,70,10080,2850360,75502080,
%U 128269440,3135720,45360,0,1,0,54810,0,16074373800,0,57943903500,0,589680,0,1,252
%N T(n,k)=Number of nXk arrays containing k copies of 0..n-1 with row sums equal and column sums equal.
%C Table starts
%C .1......1.......1...........1........1...........1.............1..........1
%C .0......2.......0...........6........0..........20.............0.........70
%C .0......6......12..........90......360........2040.........10080......54810
%C .0.....24.......0........4464........0.....2850360.............0.2645541360
%C .0....120....1080......493920.75502080.16074373800.3565914584400
%C .0....720.......0...128269440........0
%C .0...6300.3135720.57943903500
%C .0..45360.......0
%C .0.589680
%C .0
%H R. H. Hardin, <a href="/A265089/b265089.txt">Table of n, a(n) for n = 1..60</a>
%e Some solutions for n=4 k=4
%e ..3..0..1..2....0..3..3..0....1..1..2..2....3..1..2..0....1..0..3..2
%e ..3..1..2..0....3..0..0..3....2..3..0..1....3..1..0..2....1..2..0..3
%e ..0..2..1..3....1..1..2..2....0..2..1..3....0..1..3..2....2..1..3..0
%e ..0..3..2..1....2..2..1..1....3..0..3..0....0..3..1..2....2..3..0..1
%Y Row 2 is A126869.
%Y Row 3 is A002898.
%K nonn,tabl
%O 1,5
%A _R. H. Hardin_, Dec 01 2015