On the Limiting Density of a gcd Map
Pith reviewed 2026-05-16 19:42 UTC · model grok-4.3
The pith
The gcd ratio function f(a,b) equals 1 with natural density approximately 0.88151 for integer pairs.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The limiting density of pairs (a,b) such that f(a,b)=1 is given by the Euler product over primes of one minus one over p squared times p plus one, which evaluates to approximately 0.88151 and matches the quadratic class number constant.
What carries the argument
The gcd ratio map f(a,b) = gcd(a+b, ab)/gcd(a,b), whose frequency of equaling one is found by multiplying local densities at each prime.
If this is right
- The density equals the explicit Euler product over all primes.
- This value is identical to the constant appearing in the class number formula for real quadratic fields.
- The higher-order version f_r yields the density of coprime pairs, equal to one over zeta of two.
- The conditions at distinct primes become independent in the limit.
Where Pith is reading between the lines
- The match to the quadratic class number constant may point to an underlying arithmetic connection between this gcd expression and quadratic fields.
- Similar product formulas could be derived for other functions built from gcds of linear and quadratic combinations.
- Numerical verification for large bounds on a and b would test the predicted convergence rate of the density.
Load-bearing premise
The natural density of pairs where f(a,b) equals 1 exists and equals the product of the local densities at each prime.
What would settle it
A direct enumeration of the fraction of pairs with maximum absolute value at most N where f(a,b) equals one, and checking whether the fraction converges to 0.88151 as N tends to infinity.
Figures
read the original abstract
The function \[f(a,b)=\frac{\gcd(a+b,ab)}{\gcd(a,b)}\] is of interest in this paper. We then ask a natural question regarding how often $f(a,b)=1$ is. We yield the limiting density $\rho=\prod_{p}\left(1-\frac{1}{p^2(p+1)}\right)\approx 0.88151$ which is an Euler product that unexpectedly matches the quadratic class number constant from the theory of real quadratic fields. We also consider its higher-order analogue $f_r$, where the problem collapses to coprimality and the density becomes $1/\zeta(2)=6/\pi^2$.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript defines the function f(a,b) = gcd(a+b, ab)/gcd(a,b) for positive integers a,b and determines the natural density of pairs where f(a,b)=1. It proves that this density exists and equals the Euler product ∏_p (1 - 1/(p²(p+1))) ≈ 0.88151. The authors note that this product coincides with a constant from the theory of class numbers of real quadratic fields. The paper also treats a higher-order analogue f_r, showing that its density equals 1/ζ(2) = 6/π².
Significance. The result supplies an explicit Euler-product formula for the density of a naturally occurring gcd-derived function, obtained through standard local-density calculations at each prime. The derivation confirms that the bad local event at p (equal positive valuations together with a residue condition) has measure exactly 1/(p²(p+1)), so the complementary density is 1 - 1/(p²(p+1)). The global density then follows from the Chinese Remainder Theorem. The observed numerical match with the quadratic class-number constant is interesting and may suggest further links between gcd statistics and real quadratic fields, although the manuscript presents the equality as an observation rather than a derived identity.
minor comments (3)
- [Abstract] Abstract: the verb 'yield' in 'We yield the limiting density' is slightly nonstandard in mathematical English; 'We obtain' or 'The limiting density equals' would read more naturally.
- [Abstract] Abstract: a brief parenthetical reference to the precise class-number constant being matched (e.g., the constant in the asymptotic for the sum of class numbers of real quadratic fields) would help readers locate the connection.
- The definition and precise statement of the higher-order function f_r should be stated explicitly in the main text before the density claim is made, to avoid any ambiguity about the reduction to coprimality.
Simulated Author's Rebuttal
We thank the referee for their positive and insightful report, which accurately summarizes the main results on the density of pairs with f(a,b)=1 and the higher-order analogue f_r. We appreciate the recognition of the Euler-product derivation and the interesting observation regarding the quadratic class-number constant.
Circularity Check
No significant circularity; derivation is self-contained
full rationale
The paper derives the density ρ = ∏_p (1 − 1/(p²(p+1))) directly by computing the local density at each prime p that f(a,b) ≠ 1. This is done by summing the exact probabilities over equal valuations k ≥ 1 of the event v_p(a) = v_p(b) = k together with the conditional probability 1/(p−1) that the reduced a′ ≡ −b′ (mod p). The resulting geometric series yields the local factor exactly, and the global density is the product by independence via the Chinese Remainder Theorem on the finite set of p-adic conditions. No parameters are fitted to data, no self-citations are invoked for the central existence or value of the density, and the numerical match to the quadratic class-number constant is presented only as an observation after the derivation. The result is therefore obtained from first-principles counting and does not reduce to its inputs by construction.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption The natural density of the set {(a,b) : f(a,b)=1} exists and equals the Euler product over primes of the local probabilities.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
ρ=∏_p(1−1/(p²(p+1))) obtained by summing over k≥1 the probability p^k∥a and p^k∥b times the conditional 1/(p−1) residue probability
-
IndisputableMonolith/Foundation/ArithmeticFromLogic.leanLogicNat recovery unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
higher-order f_r collapses to coprimality density 1/ζ(2)
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Brauer, R. (1947). On the Zeta-Functions of Algebraic Number Fields. American Journal of Mathematics. 69(2): 243-250. DOI : 10.2307/2371849
-
[2]
An Introduction to Probabilistic Number Theory
Kowalski, E. An Introduction to Probabilistic Number Theory. Cambridge Studies in Advanced Mathematics. Cambridge University Press, Cambridge, 2021. ISBN : 9781108840965
work page 2021
-
[3]
Ayoub, R. G. (1963). An Introduction to the Analytic Theory of Numbers. Mathematical Surveys, no. 10. American Mathematical Society, Providence, R.I. DOI : 10.1090/surv/010. ISBN: 9781470412388
-
[4]
Cohen, H. (1993). A Course in Computational Algebraic Number Theory. Graduate Texts in Mathematics, vol. 138. Springer-Verlag. ISBN: 9783540556404
work page 1993
-
[5]
Wirsing, E. (1967). Das asymptotische Verhalten von Summen \"u ber multiplikative Funktionen, II . Acta Math. Acad. Sci. Hung. 18, 411-467
work page 1967
-
[6]
Elliott, P. D. T. A. (1979). Probabilistic Number Theory I: Mean-Value Theorems. Grundlehren der mathematischen Wissenschaften, vol. 239 (A Series of Comprehensive Studies in Mathematics). Springer-Verlag. ISBN: 9780387091648
work page 1979
-
[7]
(1976) Introduction to Analytic Number Theory, Undergraduate Texts in Mathematics, Springer
Apostol, T. (1976) Introduction to Analytic Number Theory, Undergraduate Texts in Mathematics, Springer. ISBN: 9780387901633
work page 1976
-
[8]
Avni, N., Onn, U., Prasad, A., & Vaserstein, L. N. (2009). Similarity classes of matrices over local principal ideal rings. Communications in Algebra, 37(8), 2601–2615
work page 2009
-
[9]
Voight, J. Quaternion Algebras. Graduate Texts in Mathematics, vol. 288. Springer, Cham, 2021. ISBN : 9783030566920
work page 2021
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.