Let $p$ be a prime $\equiv 3$ mod 4, $p>3$, and suppose that 10 has the order $(p-1)/2$ mod p. Then $1/p$ has a decimal period of length $(p-1)/2$. We express the frequency of each digit $0,\ldots,9$ in this period in terms of the class numbers of two imaginary quadratic number fields. We also exhibit certain analogues of this result, so for the case that 10 is a primitive root mod $p$ and for octal digits of $1/p$.
Let p be a prime satisfying p≡3(mod4) and p>3, and assume that the order of 10 modulo p is (p−1)/2. Then the period length of the decimal expansion of 1/p is (p−1)/2. This paper expresses the frequency of each digit 0,…,9 in this period using the class numbers of two imaginary quadratic number fields. The article also presents analogous results, including the case where 10 is a primitive root modulo p and the octal digits of 1/p.
Problem Background: Since Girstmair first established the connection between the digits of 1/p and class numbers in 1994, numerous studies have emerged in this field. Existing research primarily focuses on the distribution of decimal digits of 1/p or more generally m/p (where m is a quadratic residue modulo p).
Problem Significance: Understanding the digit distribution of reciprocals of primes has not only pure mathematical significance but also is closely related to class number theory in algebraic number theory. This connection provides an effective method for computing digit frequencies for large primes.
Existing Limitations: Known results can only provide the average value of digits, namely ∑j=1(p−1)/2aj=9(p−1)/4+9h1/2, where h1 is the class number of the imaginary quadratic field Q(−p), but cannot determine the specific frequency of each digit.
Research Motivation: This paper aims to precisely determine the frequency of each digit 0,…,9 in the period and express these frequencies using the class numbers of two imaginary quadratic number fields.
Main Theorem: Proposes Theorem 1, which provides exact formulas for the frequency of each digit under specific conditions, involving two class numbers h1 and h2.
Extended Results: Provides analogous results for the case where 10 is a primitive root (Theorem 2) and corresponding results for octal digits (Theorem 3).
Computational Advantage: Provides an effective method for computing digit frequencies for large primes (such as those on the order of 1015), avoiding the difficulties of direct computation.
Theoretical Deepening: First result in the literature involving the digit distribution expressed through two class numbers.
Given a prime p≡3(mod4), p>3, where the order of 10 modulo p is (p−1)/2, determine the frequency of each digit in the decimal expansion of m/p (where m is a quadratic residue).
Interval Analysis Method: By establishing correspondence between digits and integers within specific intervals, transforms the digit frequency problem into a problem of counting quadratic residues within intervals.
Class Number Representation: Utilizes Berndt's profound results to express the distribution difference of quadratic residues through class numbers of imaginary quadratic number fields.
Symmetry Exploitation: Cleverly exploits the duality relationship of quadratic residue properties between p−l and l to establish relationships between nk and n9−k.
Under the Generalized Riemann Hypothesis, the density of primes satisfying the conditions is approximately A/2=0.186977… (where A is the Artin constant)
Approximately 37% of primes p≡3(mod4) satisfy the condition that the order of 10 is (p−1)/2
This paper is of significant importance in number theory. It not only solves a specific digit distribution problem but, more importantly, reveals the profound connection between elementary number theory and algebraic number theory, providing new tools and perspectives for related research.