vix.ing · top · new · best · stats · spec

On the decimal and octal digits of 1/p

2025/10/09 by Kurt Girstmair, Girstmair, Kurt
Computer Science · Mathematics · #Coding theory and cryptography #Computability, Logic, AI Algorithms #Analytic Number Theory Research

paper · pdf · doi:10.48550/arxiv.2510.07873

Abstract

Let p be a prime ≡ 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,…,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 the octal digits of 1/p.

Citations

Related