On the decimal and octal digits of 1/p

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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…