REVIEW
Havel--Hakimi Residues of Common-Divisor Graphs: Complete Asymptotics and Prime-Counting Structure
Combinatorics · Submitted 3 Aug 2026
Pith's verdict: Davila proves the Erdős–Staton residue conjecture for common-divisor graphs with a novel degree-preserving realization; the proof is sound and deserves a serious referee.
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
This paper proves that the Havel–Hakimi residue of the common-divisor graph on $\{2,\ldots,n\}$ is asymptotic to $(\zeta(2)-1)n/\log n$, with an explicit second-order term, settling the conjectured limiting constant.
The reading
What carries the argument
Two mechanisms carry the proof. The lower bound uses the prime degree classes $P_k(n)=\{p\le n \text{ prime}:\lfloor n/p\rfloor=k\}$: each such prime has degree $k-1$, so its Caro–Wei contribution is $1/k$, and summation by parts gives the exact identity $P(n)=\pi(n)-\sum_{k=2}^{\lfloor n/2\rfloor}\pi(n/k)/(k(k-1))$, whose first two terms are the theorem's constants. The upper bound is carried by a degree-preserving realization lemma: for $K=\lfloor(\log n)^2\rfloor$, one can rewire $G_n$ without changing any degree so that each full block of $k$ primes of class $k$ becomes a $K_k$ clique, while the lost prime-to-composite incidences are restored by switches inside least-prime-factor classes of composites, which remain cliques with a matching removed. The reservoir of available composites is supplied by the integers $\ell(k)t\le n$ with $\gcd(t,k)=1$, where $\ell(k)$ is the least prime not dividing $k$; standard estimates show this reservoir is much larger than the number of switches needed.
Extended reading notes
Core claim
The central claim is a two-term asymptotic formula for the Havel–Hakimi residue of the graph $G_n$ on $\{2,\ldots,n\}$ with adjacency $\gcd(x,y)>1$. The paper proves that $$R(G_n)=\bigl(\zeta(2)-1\bigr)\frac{n}{\log n}+\bigl(\zeta(2)-1-A\bigr)\frac{n}{\$log^{2}$ n}+O\!\left(\frac{n}{\$log^{3}$ n}\right),$$ with $A=\sum_{k=2}^{\infty}\log k/(k^2(k-1))=0.3201986326\ldots$. Consequently $R(G_n)\log n/n\to\zeta(2)-1\approx 0.6449$, confirming the constant that had been proposed on numerical and heuristic grounds. The lower bound sums $1/(d(p)+1)$ over prime vertices and applies the theorem that the residue dominates the Caro–Wei sum. The upper bound builds a second graph with the same degree sequence in which almost all low-degree primes are compressed into cliques of the size forced by their degree, with the removed edges restored by switches inside composite classes; since the residue depends only on the degree sequence, the independence number of that auxiliary realization bounds the residue from above.
Load-bearing premise
The upper-bound construction depends on the number-theoretic guarantee that, for each even $k\le(\log n)^2$, enough unused composite vertices with least prime factor $\ell(k)$ remain to absorb all degree-preserving switches; if the reservoir estimates failed, the matching upper bound would not follow.
Editorial extensions
If this is right
- The residue-to-prime-count ratio satisfies $R(G_n)/\pi(n)=\zeta(2)-1-A/\log n+O(1/\log^2 n)$, so the residue is asymptotically a fixed fraction, about $0.6449$, of the number of primes up to $n$.
- Composite vertices contribute only $O(\sqrt{n})$ to the Caro–Wei sum, so the leading behavior of the residue is governed entirely by prime vertices and their multiplicative level sets $\lfloor n/p\rfloor$.
- The Havel–Hakimi defect $R(G_n)-\mathrm{CW}(G_n)$ admits an exact telescoping decomposition into nonnegative local defects; exact computation suggests this total defect stays at most $2$, a far stronger statement than the main theorem.
- If the bounded-defect conjecture holds, exact values of $R(G_n)$ can be obtained within a constant from the easily computed Caro–Wei sum, bypassing the full reduction process.
Reading between the lines
- The clique-compression technique should transfer to other arithmetic graph families whose low-degree vertices are organized by short multiplicative intervals, such as divisor graphs or coprime complements; one would expect similar zeta-type constants to govern their leading terms.
- The exact defect identity suggests a route to proving bounded total defect by showing that local defects decay after the first few reductions, and a direct analysis of the Havel–Hakimi trajectory for arithmetic degree sequences might close the gap observed computationally.
- The reconstruction result implies that the unlabeled isomorphism type of the common-divisor graph encodes $\pi(n)$, while the degree sequence alone encodes only the coarser constant $\zeta(2)-1$; a natural test would be to see which other arithmetic functions survive in unlabeled form.
Original abstract
Let $G_n$ be the graph on $\{2,\ldots,n\}$ in which two integers are adjacent when they have a common divisor greater than one. We determine the complete asymptotic expansion of its Havel--Hakimi residue $\R(G_n)$, confirming a leading-constant prediction of Staton recorded in Fajtlowicz's \emph{Written on the Wall}. If $A=\sum_{k=2}^{\infty}(\log k)/(k^2(k-1))$, then the first two terms are $\R(G_n)=(\zeta(2)-1)n/\log n+(\zeta(2)-1-A)n/\log^2n +O(n/\log^3n)$. More precisely, the difference between $\R(G_n)$ and the prime-vertex contribution to the Caro--Wei sum is $O_\beta(n\exp\{-(\log n)^\beta\})$ for every fixed $0<\beta<1/2$; this estimate yields every coefficient in the expansion. The upper bound follows from a degree-preserving realization in which almost all relevant prime vertices are partitioned into cliques. We also prove that the unlabeled graph determines $\pi(n)$ through its simplicial true-twin classes. Stable inverses for weighted sums of the resulting degree-class counts give criteria equivalent to the Riemann hypothesis, including one involving only the Caro--Wei sum. An exact local-defect identity additionally reduces the conjectured sharp $+2$ residue bound to explicit prefix estimates.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
Let $G_n$ be the graph on $\{2,\ldots,n\}$ in which two integers are adjacent when they have a common divisor greater than one. We determine the complete asymptotic expansion of its Havel--Hakimi residue $\R(G_n)$, confirming a leading-constant prediction of Staton recorded in Fajtlowicz's \emph{Written on the Wall}. If $A=\sum_{k=2}^{\infty}(\log k)/(k^2(k-1))$, then the first two terms are $\R(G_n)=(\zeta(2)-1)n/\log n+(\zeta(2)-1-A)n/\log^2n +O(n/\log^3n)$. More precisely, the difference between $\R(G_n)$ and the prime-vertex contribution to the Caro--Wei sum is $O_\beta(n\exp\{-(\log n)^\beta\})$ for every fixed $0<\beta<1/2$; this estimate yields every coefficient in the expansion. The upper bound follows from a degree-preserving realization in which almost all relevant prime vertices are partitioned into cliques. We also prove that the unlabeled graph determines $\pi(n)$ through its simplicial true-twin classes. Stable inverses for weighted sums of the resulting degree-class counts give criteria equivalent to the Riemann hypothesis, including one involving only the Caro--Wei sum. An exact local-defect identity additionally reduces the conjectured sharp $+2$ residue bound to explicit prefix estimates.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | Let $G_n$ be the graph on $\{2,\ldots,n\}$ in which two integers are adjacent when they have a common divisor greater than one. | background 0.99 | 0.08 | 0.02 | asserted 0.90 |
| s1 | We determine the complete asymptotic expansion of its Havel--Hakimi residue $\R(G_n)$, confirming a leading-constant prediction of Staton recorded in Fajtlowicz's \emph{Written on the Wall}. | result 0.59 | 0.93 | 0.54 | asserted 1.00 |
| s2 | If $A=\sum_{k=2}^{\infty}(\log k)/(k^2(k-1))$, then the first two terms are $\R(G_n)=(\zeta(2)-1)n/\log n+(\zeta(2)-1-A)n/\log^2n +O(n/\log^3n)$. | result 1.00 | 0.90 | 0.57 | asserted 1.00 |
| s3 | More precisely, the difference between $\R(G_n)$ and the prime-vertex contribution to the Caro--Wei sum is $O_\beta(n\exp\{-(\log n)^\beta\})$ for every fixed $0<\beta<1/2$; this estimate yields every coefficient in the expansion. | result 0.91 | 0.89 | 0.22 | asserted 1.00 |
| s4 | The upper bound follows from a degree-preserving realization in which almost all relevant prime vertices are partitioned into cliques. | method 0.99 | 0.86 | 0.04 | asserted 1.00 |
| s5 | We also prove that the unlabeled graph determines $\pi(n)$ through its simplicial true-twin classes. | result 0.90 | 0.89 | 0.11 | asserted 1.00 |
| s6 | Stable inverses for weighted sums of the resulting degree-class counts give criteria equivalent to the Riemann hypothesis, including one involving only the Caro--Wei sum. | result 0.85 | 0.88 | 0.11 | asserted 1.00 |
| s7 | An exact local-defect identity additionally reduces the conjectured sharp $+2$ residue bound to explicit prefix estimates. | result 0.59 | 0.84 | 0.07 | asserted 0.89 |
What was examined, and what was not
- arXiv listing abstract v2
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Figures reproduced from arXiv:2608.04040 by the authors.
References
How the literature uses it
What this paper does with the arXiv papers it cites
What it cites
Cites as background 1 paper
-
They are closely related to divisor graphs and to the complementary coprime graphs; see, for example, [ref] .
Bipartite divisor graphs for integer subsets · Introduction · 1.00
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.