The enumeration of arrays and a generalization related to contingency tables

Abstract New methods are described for enumerating arrays, and for a generalization that is required for a Bayesian analysis of contingency tables. Exact and approximate formulate are given, together with some number-theoretic results.