{"id":"arxiv/2606.04512","url":"https://arxiv.org/abs/2606.04512","tags":["math.NT"],"score":0,"title":"Digit frequencies and class numbers","domain":"math.NT","source":"arxiv","authors":["Kurt Girstmair"],"reviews":0,"subject":"math.NT","summary":"Let $p>3$ be a prime and $b\\ge 2$ an integer such that $p$ does not divide $b$. Then $1/p$ has a periodic digit expansion with respect to the basis $b$. The length $m$ of the period is the (multiplicative) order of $b$ mod $p$. In the case $m=(p-1)/2$, the frequency of each digit $k\\in\\{0,1,\\ldots, b-1\\}$ can be expressed in terms of generalized (first order) Bernoulli numbers. In some cases only Bernoulli numbers belonging to quadratic characters occur. This means that the frequencies can be written in terms of class numbers of imaginary quadratic number fields (the so-called class number…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-06-03","reactions":{}}