Counting contingency tables, Kostka numbers, and Littlewood--Richardson coefficients with unary inputs is #P-complete
Version 1 / Nov 26, 2026 / CC BY 4.0
Abstract
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.
Tools used
- OpenAI
- ChatGPTVersion 6.2
References
- Anshul Adve, Colleen Robichaux, and Alexander Yong, Vanishing of Littlewood -- Richardson polynomials is in , Computational Complexity 28 (2019), no. 2, 241--257.
- — , An efficient algorithm for deciding vanishing of Schubert polynomial coefficients , Advances in Mathematics 383 (2021), 107669.
- Anders Skovsted Buch, Andrew Kresch, Kevin Purbhoo, and Harry Tamvakis, The puzzle conjecture for the cohomology of two-step flag manifolds , Journal of Algebraic Combinatorics 44 (2016), no. 4, 973--1007.
- Martin Dyer, Ravi Kannan, and John Mount, Sampling contingency tables , Random Structures & Algorithms 10 (1997), no. 4, 487--506.
- Yibo Gao and Hai Zhu, Boolean Schubert structure coefficients , Journal of Algebra 688 (2026), 344--362.
- Daoji Huang, Schubert products for permutations with separated descents , International Mathematics Research Notices 2023 (2023), no. 20, 17461--17493.
- Christian Ikenmeyer, Igor Pak, and Greta Panova, Positivity of the symmetric group characters is as hard as the polynomial time hierarchy , International Mathematics Research Notices 2024 (2024), no. 10, 8442--8458.
- Anatol N. Kirillov, Ubiquity of Kostka polynomials , Physics and Combinatorics 1999, World Scientific, Singapore, 2001, pp. 85--200.
- Donald E. Knuth, Permutations, matrices, and generalized Young tableaux , Pacific Journal of Mathematics 34 (1970), no. 3, 709--727.
- Allen Knutson and Paul Zinn-Justin, Schubert puzzles and integrability I : invariant trilinear forms , Communications of the American Mathematical Society 6 (2026), 1--67.
Show all 30 referencesShow fewer references
- — , Schubert puzzles and integrability II : multiplying motivic Segre classes , Communications of the American Mathematical Society 6 (2026), 68--152.
- — , Schubert puzzles and integrability III : separated descents , The Electronic Journal of Combinatorics 33 (2026), no. 4, Paper P4.39.
- I. G. Macdonald, Notes on Schubert polynomials , Publications du LaCIM, vol. 6, Universit é du Qu é bec à Montr é al, 1991.
- Jeffrey W. Miller and Matthew T. Harrison, Exact sampling and counting for fixed-margin matrices , The Annals of Statistics 41 (2013), no. 3, 1569--1592.
- Karola M é sz á ros, Greta Panova, and Alexander Postnikov, Schur times Schubert via the Fomin--Kirillov algebra , The Electronic Journal of Combinatorics 21 (2014), no. 1, P1.39.
- Priyanka Mukhopadhyay and Youming Qiao, Sparse multivariate polynomial interpolation on the basis of Schubert polynomials , Computational Complexity 26 (2017), no. 4, 881--909.
- Hariharan Narayanan, On the complexity of computing Kostka numbers and Littlewood -- Richardson coefficients , Journal of Algebraic Combinatorics 24 (2006), no. 3, 347--354.
- OpenAI , Exact uniform sampling of contingency tables with arbitrary margins , OpenAI Math Release preprint (https://github.com/openai/math/blob/main/preprints/Exact-Uniform-Sampling-of-Contingency-Tables-with-Arbitrary-Margins-September-24-2026/main.pdf), September 2026.link
- — , An FPRAS for cell-bounded contingency tables , OpenAI Math Release preprint (https://github.com/openai/math/blob/main/preprints/An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026/main.pdf), September 2026.link
- Igor Pak, What is a combinatorial interpretation? , Open Problems in Algebraic Combinatorics (Christine Berkesch, Benjamin Brubaker, Gregg Musiker, Pavlo Pylyavskyy, and Victor Reiner, eds.), Proceedings of Symposia in Pure Mathematics, vol. 110, American Mathematical Society, Providence, RI, 2024, pp. 191--260.
- Greta Panova, Computational complexity in algebraic combinatorics , Current Developments in Mathematics 2023-2024 (2025), no. 1, 241--280.
- Igor Pak and Colleen Robichaux, Signed combinatorial interpretations in algebraic combinatorics , Algebraic Combinatorics 8 (2025), no. 2, 495--519.
- — , Vanishing of Schubert coefficients , arXiv:2412.02064v3 (https://arxiv.org/abs/2412.02064v3), 2025.arXiv
- — , Signed puzzles for Schubert coefficients , Algebraic Combinatorics 9 (2026), 1479--1495.
- J. Barkley Rosser and Lowell Schoenfeld, Approximate formulas for some functions of prime numbers , Illinois Journal of Mathematics 6 (1962), no. 1, 64--94.
- Frank Sottile, Pieri 's formula for flag manifolds and Schubert polynomials , Annales de l'Institut Fourier 46 (1996), no. 1, 89--110.
- Richard P. Stanley, Enumerative combinatorics. vol. 2 , Cambridge Studies in Advanced Mathematics, vol. 62, Cambridge University Press, Cambridge, 1999.
- — , Positivity problems and conjectures in algebraic combinatorics , Mathematics: Frontiers and Perspectives, American Mathematical Society, Providence, RI, 2000, pp. 295--319.
- L. G. Valiant, The complexity of computing the permanent , Theoretical Computer Science 8 (1979), no. 2, 189--201.
- Tianyi Yu, Two-row Schur times Schubert via parallel classes of positroid varieties , arXiv:2611.07351 (https://arxiv.org/abs/2611.07351), 2026.arXiv
Version history
- v1 · 8 pagesSubmitted by Greta PanovaInitial depositCurrentNov 26, 2026