Read the three-page note Source & Verification Independent audit Original problem

The result

A matrix of globally distinct positive integers cannot have three or more rows if every row sum and every column product equal the same number.

This proves the conjecture attributed to Joseph DeVincentis on Erich Friedman’s November 2002 Math Magic page. With at least two columns, the equal-value case can occur only with two rows. The source supplies a two-row example with common value 840.

Theorem. There are no integers \(m\ge3\), \(n\ge2\), \(N\ge1\), and an \(m\times n\) matrix \(A=(a_{ij})\) of pairwise distinct positive integers satisfying

\[ \sum_{j=1}^{n}a_{ij}=N\quad(1\le i\le m),\qquad \prod_{i=1}^{m}a_{ij}=N\quad(1\le j\le n). \]

The full nonexistence proof

Select any three rows and write their entries in column \(j\) as \(x_j,y_j,z_j\). Every omitted entry is at least 1, so \(N\ge x_jy_jz_j\). The three selected row sums give

\[ \begin{aligned} 3&=\sum_{j=1}^{n}\frac{x_j+y_j+z_j}{N}\\ &\le\sum_{j=1}^{n}\left(\frac1{x_jy_j}+\frac1{x_jz_j}+\frac1{y_jz_j}\right)\\ &\le\sum_{j=1}^{n}\left(\frac1{x_j^2}+\frac1{y_j^2}+\frac1{z_j^2}\right). \end{aligned} \]

The second inequality is the sum of the three elementary inequalities \(1/(xy)\le(1/x^2+1/y^2)/2\), each equivalent to \((1/x-1/y)^2\ge0\).

All \(3n\) selected entries are distinct positive integers. If \(M\) is their maximum, their reciprocal-square sum is at most

\[ \sum_{k=1}^{M}\frac1{k^2} \le 1+\sum_{k=2}^{M}\left(\frac1{k-1}-\frac1k\right) =2-\frac1M<2. \]

Thus \(3<2\), a contradiction. The argument covers every number of rows \(m\ge3\), every allowed width, and every common value; it uses no finite-search assumption.

A stronger inequality

For an ordinary sum–product matrix with globally distinct positive integer entries, \(m\ge3\) rows, common row sum \(S\), and common column product \(P\), the note proves

\[\frac{mS}{P}<2,\qquad S<\frac{2P}{m}.\]

In one column, label entries \(b_1,\ldots,b_m\) cyclically. The positions \(i+1,i+2\) are different from each other and from \(i\). Since the other factors are at least 1,

\[ \frac{b_i}{P}\le\frac1{b_{i+1}b_{i+2}} \le\frac12\left(\frac1{b_{i+1}^2}+\frac1{b_{i+2}^2}\right). \]

Sum over the column and then all columns. Each reciprocal square has total coefficient 1, giving \(mS/P\le\sum_{i,j}1/a_{ij}^2<2\) by the same distinct-integer bound.

Boundary cases

  • Two rows: the source’s \(2\times10\) example has 20 distinct entries, both row sums 840, and all ten column products 840. Its total reciprocal sum is exactly 2; the reciprocal-square obstruction does not apply.
  • One row: with \(n\ge2\), every entry would have to equal \(N\), making the row sum \(nN>N\). The excluded \(1\times1\) case is a trivial solution for any positive entry.
  • Repeated entries: a \(3\times4\) array filled with 2 has row sums and column products equal to 8. Global distinctness is an essential hypothesis.
  • Ordinary SP matrices: equal row sums and equal column products may exist with more rows when the two common values differ. Those matrices are outside the nonexistence claim.

Verification and reproduction

Separate AI reviewers checked the direct proof, developed an independent AM–GM argument before reading it, and audited the computations and input checker. No mathematical gap was found in either theorem or the numerical controls.

CheckReproduced scope
Checker regression tests33 tests
Sum-of-squares identityExact polynomial coefficient comparison
Ordered triples64,000 triples with entries from 1 through 40
Distinct sets and telescoping4,095 subsets; 512 telescoping bounds
Higher-row inequalities360 arrays, 2,340 columns, and a separate 101-digit probe

From the equal_sum_product folder, run:

python3 src/reproduce.py

The checks use Python 3.10 or newer and its standard library. The written proof establishes universal nonexistence; the finite diagnostics check arithmetic, transcription, and software behavior. The audit report records the independent checks and their limits.

Scope and provenance

This result settles the equal-sum/equal-product conjecture under the source’s global-distinctness and positive-integer conventions. It does not determine the smallest ordinary SP matrix in every dimension or classify all two-row solutions.

The supplied 14 September package, including its PDF and integrity manifest, is preserved unchanged. Its statements about being unpublished and not independently reviewed describe that original session; the later audit records this publication.

The Math Magic unsolved list, item 8, still listed the conjecture when checked on 17 September 2026 UTC. Targeted searches found no earlier resolution, but historical priority has not been established.

The research and this verification used generative-AI assistance. These independent AI checks are internal research audits, not external peer review or proof-assistant formalization.

Research note

Open the research note.