Closed-Form Enumeration of Binary Matrices with Bounded Row and Column Sums and Proof of Both OEIS A401159 Conjectures

Let A(n, m, k) denote the number of n x m binary matrices with at most k ones in every row and every column, and let s(n, k) = sum_{i=0}^k C(n, i). By identifying each matrix with its tuple of column supports and applying inclusion-exclusion on the Boolean lattice, we prove that A(n, m, k) = s(n, k)^m for all 0 <= m <= k and A(n, k+1, k) = sum_{j=0}^k (-1)^j C(n, j) s(n-j, k-j)^(k+1) for all n, k >= 0. Specializing to k = 2 settles both conjectures stated by R. J. Mathar in OEIS A401159: T(n, 2) = A086601(n) = A000124(n)^2 and T(n, 3) = 1 + n + (11/4)n^2 + (13/8)n^3 + (1/8)n^4 + (3/8)n^5 + (1/8)n^6 for every integer n >= 0. The general theorem and both corollaries are formally verified in Lean 4.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24559958
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Closed-Form Enumeration of Binary Matrices with Bounded Row and Column Sums and Proof of Both OEIS A401159 Conjectures

Salem Levinstein
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Closed-Form Enumeration of Binary Matrices with Bounded Row and Column Sums and Proof of Both OEIS A401159 Conjectures

Salem Levinstein
preprint en

Abstract

Let A(n, m, k) denote the number of n x m binary matrices with at most k ones in every row and every column, and let s(n, k) = sum_{i=0}^k C(n, i). By identifying each matrix with its tuple of column supports and applying inclusion-exclusion on the Boolean lattice, we prove that A(n, m, k) = s(n, k)^m for all 0 <= m <= k and A(n, k+1, k) = sum_{j=0}^k (-1)^j C(n, j) s(n-j, k-j)^(k+1) for all n, k >= 0. Specializing to k = 2 settles both conjectures stated by R. J. Mathar in OEIS A401159: T(n, 2) = A086601(n) = A000124(n)^2 and T(n, 3) = 1 + n + (11/4)n^2 + (13/8)n^3 + (1/8)n^4 + (3/8)n^5 + (1/8)n^6 for every integer n >= 0. The general theorem and both corollaries are formally verified in Lean 4.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon