Reciprocals of primes

Last updated

The reciprocals of prime numbers have been of interest to mathematicians for various reasons. They do not have a finite sum, as Leonhard Euler proved in 1737.

Contents

Like rational numbers, the reciprocals of primes have repeating decimal representations. In his later years, George Salmon (1819–1904) concerned himself with the repeating periods of these decimal representations of reciprocals of primes. [1]

Contemporaneously, William Shanks (1812–1882) calculated numerous reciprocals of primes and their repeating periods, and published two papers "On Periods in the Reciprocals of Primes" in 1873 [2] and 1874. [3] In 1874 he also published a table of primes, and the periods of their reciprocals, up to 20,000 (with help from and "communicated by the Rev. George Salmon"), and pointed out the errors in previous tables by three other authors. [4]

Shanks's table of primes just below 20000 and their decimal periods.png
The last part of Shanks's 1874 table of primes and their repeating periods. In the top row, 6952 should be 6592 (the error is easy to find, since the period for a prime p must divide p − 1). In his report extending the table to 30,000 in the same year, Shanks did not report this error, but reported that in the same column, opposite 19841, the 1984 should be 64. *Another error which may have been corrected since his work was published is opposite 19423, the reciprocal repeats every 6474 digits, not every 3237.

Rules for calculating the periods of repeating decimals from rational fractions were given by James Whitbread Lee Glaisher in 1878. [5] For a prime p, the period of its reciprocal divides p − 1. [6]

The sequence of recurrence periods of the reciprocal primes (sequence A002371 in the OEIS ) appears in the 1973 Handbook of Integer Sequences.

List of reciprocals of primes

Prime
(p)
Period
length
Reciprocal
(1/p)
200.5
3† 10.3
500.2
7* 60.142857
11† 20.09
1360.076923
17* 160.0588235294117647
19* 180.052631578947368421
23* 220.0434782608695652173913
29* 280.0344827586206896551724137931
31150.032258064516129
37† 30.027
4150.02439
43210.023255813953488372093
47* 460.0212765957446808510638297872340425531914893617
53130.0188679245283
59* 580.0169491525423728813559322033898305084745762711864406779661
61* 600.016393442622950819672131147540983606557377049180327868852459
67330.014925373134328358208955223880597
71350.01408450704225352112676056338028169
7380.01369863
79130.0126582278481
83410.01204819277108433734939759036144578313253
89440.01123595505617977528089887640449438202247191
97* 960.010309278350515463917525773195876288659793814432989690721649484536082474226804123711340206185567
101† 40.0099
103340.0097087378640776699029126213592233
107530.00934579439252336448598130841121495327102803738317757
109* 1080.009174311926605504587155963302752293577981651376146788990825688073394495412844036697247706422018348623853211
113* 1120.0088495575221238938053097345132743362831858407079646017699115044247787610619469026548672566371681415929203539823
127420.007874015748031496062992125984251968503937

* Full reptend primes are italicised.
Unique primes are highlighted.

Full reptend primes

A full reptend prime, full repetend prime, proper prime [7] :166 or long prime in base b is an odd prime number p such that the Fermat quotient

(where p does not divide b) gives a cyclic number with p  1 digits. Therefore, the base b expansion of repeats the digits of the corresponding cyclic number infinitely.

Unique primes

A prime p (where p ≠ 2, 5 when working in base 10) is called unique if there is no other prime q such that the period length of the decimal expansion of its reciprocal, 1/p, is equal to the period length of the reciprocal of q, 1/q. [8] For example, 3 is the only prime with period 1, 11 is the only prime with period 2, 37 is the only prime with period 3, 101 is the only prime with period 4, so they are unique primes. The next larger unique prime is 9091 with period 10, though the next larger period is 9 (its prime being 333667). Unique primes were described by Samuel Yates in 1980. [9] A prime number p is unique if and only if there exists an n such that

is a power of p, where denotes the th cyclotomic polynomial evaluated at . The value of n is then the period of the decimal expansion of 1/p. [10]

At present, more than fifty decimal unique primes or probable primes are known. However, there are only twenty-three unique primes below 10100.

The decimal unique primes are

3, 11, 37, 101, 9091, 9901, 333667, 909091, ... (sequence A040017 in the OEIS ).

Related Research Articles

In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function f(n) whose domain is the positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses some arithmetical property of n". There is a larger class of number-theoretic functions that do not fit this definition, for example, the prime-counting functions. This article provides links to functions of both classes.

<span class="mw-page-title-main">Euclidean algorithm</span> Algorithm for computing greatest common divisors

In mathematics, the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers, the largest number that divides them both without a remainder. It is named after the ancient Greek mathematician Euclid, who first described it in his Elements . It is an example of an algorithm, a step-by-step procedure for performing a calculation according to well-defined rules, and is one of the oldest algorithms in common use. It can be used to reduce fractions to their simplest form, and is a part of many other number-theoretic and cryptographic calculations.

<span class="mw-page-title-main">Fibonacci sequence</span> Numbers obtained by adding the two previous ones

In mathematics, the Fibonacci sequence is a sequence in which each element is the sum of the two elements that precede it. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted Fn. Many writers begin the sequence with 0 and 1, although some authors start it from 1 and 1 and some from 1 and 2. Starting from 0 and 1, the sequence begins

<span class="mw-page-title-main">Euler's totient function</span> Number of integers coprime to and less than n

In number theory, Euler's totient function counts the positive integers up to a given integer n that are relatively prime to n. It is written using the Greek letter phi as or , and may also be called Euler's phi function. In other words, it is the number of integers k in the range 1 ≤ kn for which the greatest common divisor gcd(n, k) is equal to 1. The integers k of this form are sometimes referred to as totatives of n.

In mathematics, thenth cyclotomic polynomial, for any positive integer n, is the unique irreducible polynomial with integer coefficients that is a divisor of and is not a divisor of for any k < n. Its roots are all nth primitive roots of unity , where k runs over the positive integers less than n and coprime to n. In other words, the nth cyclotomic polynomial is equal to

21 (twenty-one) is the natural number following 20 and preceding 22.

In recreational mathematics, a repunit is a number like 11, 111, or 1111 that contains only the digit 1 — a more specific type of repdigit. The term stands for "repeated unit" and was coined in 1966 by Albert H. Beiler in his book Recreations in the Theory of Numbers.

23 (twenty-three) is the natural number following 22 and preceding 24.

63 (sixty-three) is the natural number following 62 and preceding 64.

101 is the natural number following 100 and preceding 102.

In mathematics, Wolstenholme's theorem states that for a prime number p ≥ 5, the congruence

Multiplicative group of integers modulo <i>n</i> Group of units of the ring of integers modulo n

In modular arithmetic, the integers coprime to n from the set of n non-negative integers form a group under multiplication modulo n, called the multiplicative group of integers modulo n. Equivalently, the elements of this group can be thought of as the congruence classes, also known as residues modulo n, that are coprime to n. Hence another name is the group of primitive residue classes modulo n. In the theory of rings, a branch of abstract algebra, it is described as the group of units of the ring of integers modulo n. Here units refers to elements with a multiplicative inverse, which, in this ring, are exactly those coprime to n.

<span class="mw-page-title-main">Plastic ratio</span> Number, approximately 1.3247

In mathematics, the plastic ratio is a geometrical proportion close to 53/40. Its true value is the real solution of the equation x3 = x + 1.

181 is the natural number following 180 and preceding 182.

In number theory, a full reptend prime, full repetend prime, proper prime or long prime in base b is an odd prime number p such that the Fermat quotient

A repeating decimal or recurring decimal is a decimal representation of a number whose digits are eventually periodic ; if this sequence consists only of zeros, the decimal is said to be terminating, and is not considered as repeating.

<span class="mw-page-title-main">Rational number</span> Quotient of two integers

In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator p and a non-zero denominator q. For example, is a rational number, as is every integer. The set of all rational numbers, also referred to as "the rationals", the field of rationals or the field of rational numbers is usually denoted by boldface Q, or blackboard bold

In mathematics, the transposable integers are integers that permute or shift cyclically when they are multiplied by another integer . Examples are:

In number theory, a cyclotomic field is a number field obtained by adjoining a complex root of unity to , the field of rational numbers.

A mathematical constant is a number whose value is fixed by an unambiguous definition, often referred to by a special symbol, or by mathematicians' names to facilitate using it across multiple mathematical problems. Constants arise in many areas of mathematics, with constants such as e and π occurring in such diverse contexts as geometry, number theory, statistics, and calculus.

References

  1. "Obituary Notices – George Salmon". Proceedings of the London Mathematical Society. Second Series. 1: xxii–xxviii. 1904. Retrieved 27 March 2022. ...there was one branch of calculation which had a great fascination for him. It was the determination of the number of figures in the recurring periods in the reciprocals of prime numbers.
  2. Shanks, William (1873). "On Periods in the Reciprocals of Primes". The Messenger of Mathematics. II: 41–43. Retrieved 27 March 2022.
  3. Shanks, William (1874). "On Periods in the Reciprocals of Primes". The Messenger of Mathematics. III: 52–55. Retrieved 27 March 2022.
  4. Shanks, William (1874). "On the Number of Figures in the Period of the Reciprocal of Every Prime Number Below 20,000". Proceedings of the Royal Society of London. 22: 200–210. JSTOR   112821 . Retrieved 27 March 2022.
  5. Glaisher, J. W. L. (1878). "On circulating decimals with special reference to Henry Goodwin's 'Table of circles' and 'Tabular series of decimal quotients'". Proceedings of the Cambridge Philosophical Society: Mathematical and Physical Sciences. 3 (V): 185–206. Retrieved 27 March 2022.
  6. Cook, John D. (10 May 2018). "Reciprocals of primes". johndcook.com. Retrieved 6 April 2022.
  7. Dickson, Leonard E., 1952, History of the Theory of Numbers, Volume 1, Chelsea Public. Co.
  8. Caldwell, Chris. "Unique prime". The Prime Pages . Retrieved 11 April 2014.
  9. Yates, Samuel (1980). "Periods of unique primes". Math. Mag. 53: 314. Zbl   0445.10009.
  10. "Generalized Unique". Prime Pages. Retrieved 9 December 2023.