For a prime , let denote the limiting fraction of matrices over whose determinant is a primitive root modulo . The quantity is a natural multiplicative deformation of the totient ratio and inherits its distributional behaviour over the primes. Existence and continuity of the limiting law follow from the shifted-prime Erdős–Wintner–Hildebrand framework. We prove the following new results: unconditionally, and the sharp order is ; the reciprocal satisfies , and no smaller constant suffices. We give a complete proof, combining an adaptation of Erdős’s argument with the Jessen–Wintner pure-type dichotomy, that the limiting distribution is purely singular, and strengthen this to , i.e. the limiting measure is carried by a Borel set of Hausdorff dimension zero. The distribution has full topological support and admits a Bernoulli-product representation indexed by the odd primes. The moments are given by convergent Euler products, and the Mellin transform extends to an entire function of , non-vanishing on . Near the right endpoint, with an explicit constant . The quantity equals the dimension-uniform expected rejection-sampling overhead in the reduction from learning with errors (LWE) to PRIM-LWE in lattice-based cryptography. The explicit bounds yield concrete overhead estimates for all primes appearing in current NIST post-quantum standards and representative NTT-friendly moduli.

生成讲解博客的中文版本

生成AI智能校验的中文版本