TOPICS
Search

Hafner-Sarnak-McCurley Constant


The Hafner-Sarnak-McCurley constant is the limit as n->infty of the limiting probability D(n) that two n×n integer matrices have relatively prime determinants. For each positive integer n, choose their entries independently and uniformly from 1, 2, ..., B, then take B->infty. Hafner et al. (1993, p. 438) showed that

 D(n)=product_(k=1)^infty{1-[1-product_(j=1)^n(1-p_k^(-j))]^2},
(1)

where p_k is the kth prime.

HafnerSarnakMcCurley

The case D(1) is just the probability that two random integers are relatively prime,

 D(1)=6/(pi^2)=0.6079271018...
(2)

(OEIS A059956). Approximate values for the first few n are given by

D(2) approx 0.4527205758
(3)
D(3) approx 0.3969403515
(4)
D(4) approx 0.3735974740
(5)
D(5) approx 0.3630142087.
(6)

Vardi (1991) computed the limit

 sigma=lim_(n->infty)D(n)=0.3532363718...
(7)

(OEIS A085849). Flajolet and Vardi (1996, pp. 5-6) give a zeta function product for this constant whose convergence rate is roughly 0.57^n after n factors.


See also

Integer Matrix, Relatively Prime

Explore with Wolfram|Alpha

References

Finch, S. R. "Hafner-Sarnak-McCurley Constant." §2.5 in Mathematical Constants. Cambridge, England: Cambridge University Press, pp. 110-112, 2003.Flajolet, P. and Vardi, I. "Zeta Function Expansions of Classical Constants." Unpublished manuscript. 1996. https://algo.inria.fr/flajolet/Publications/landau.ps.Hafner, J. L.; Sarnak, P.; and McCurley, K. "Relatively Prime Values of Polynomials." In A Tribute to Emil Grosswald: Number Theory and Related Analysis (Ed. M. Knopp and M. Sheingorn). Providence, RI: Amer. Math. Soc., pp. 437-443, 1993.Sloane, N. J. A. Sequences A059956 and A085849 in "The On-Line Encyclopedia of Integer Sequences."Vardi, I. Computational Recreations in Mathematica. Redwood City, CA: Addison-Wesley, 1991.

Referenced on Wolfram|Alpha

Hafner-Sarnak-McCurley Constant

Cite this as:

Weisstein, Eric W. "Hafner-Sarnak-McCurley Constant." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Hafner-Sarnak-McCurleyConstant.html

Subject classifications