math.CO — Combinatorics
Counting contingency tables, Kostka numbers, and Littlewood--Richardson coefficients with unary inputs is #P-complete
We prove that counting contingency tables with prescribed unary margins is -complete under polynomial-time Turing reductions for both cases of tables with nonnegative integer entries and entries in . This proves a Conjecture of Pak and Panova. The methods involve modular arithmetic by repeating margins -times and relating to the SETPARTITION problem. The congruences are proven using symmetric function techniques. We also realize each nonnegative table count as a single rectangular Kostka number, and then as a Littlewood--Richardson coefficient with a rectangular factor. Both coefficient problems are therefore P-complete for partitions given in unary making Kostka and Littlewood-Richardson coefficients strongly P-complete. For permutations in one-line notation, computing a Schubert structure constant is consequently P-hard even when all three permutations are Grassmannian with a common descent.