1. Home
  2. Explore
  3. Mathematics
  4. Prime Reciprocals Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Prime Reciprocals Analysis

  • 15Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: William Shanks' Work

Who was William Shanks, and what was his primary mathematical pursuit in his spare time?

15 questions

  1. 1

    Who was William Shanks, and what was his primary mathematical pursuit in his spare time?

    Model answer

    William Shanks was a recreational mathematician from the mid to late 1800s who ran a boarding school. In his spare time, he diligently calculated reciprocals of prime numbers to determine the number of digits in their repeating period.

    Explanation

    William Shanks was a fascinating figure, often described as a 'recreational mathematician' because his intense mathematical work was pursued outside of his main profession, which was running a boarding school. His passion was for calculation, specifically focusing on the reciprocals of prime numbers. He would compute 1/p1/p1/p for various primes ppp and then meticulously determine the length of the repeating decimal expansion (the 'period'). This was an incredibly laborious task, especially given the mathematical tools available in the 19th century.

  2. 2

    What kind of data did William Shanks send to the Royal Society?

    Model answer

    Shanks sent handwritten results detailing the reciprocals of prime numbers, specifically the number of figures in the period of each prime's reciprocal.

    Explanation

    The Royal Society received William Shanks' detailed, handwritten results. These documents specifically enumerated 'Reciprocals of Prime Numbers' and, for each prime, indicated 'the number of figures in the period of the reciprocal of each prime.' This was a collection of his laborious calculations spanning many years.

  3. 3

    Describe the format in which Shanks presented his findings for reciprocals of prime numbers.

    Model answer

    Shanks' tables listed prime numbers in the left-hand columns and the number of figures in the period of the reciprocal of each prime in the right-hand columns. He organized these in batches, compiled over several years.

    Explanation

    Shanks' presentation was methodical: the left-hand columns of his tables contained the prime numbers themselves, while the corresponding right-hand columns indicated the length of the repeating part (the period) of their reciprocals. He worked on these calculations in large batches, often hundreds or thousands at a time, and the entire project spanned many years, demonstrating his dedication to this mathematical endeavor.

  4. 4

    What is the 'period of the reciprocal of a prime' that William Shanks calculated?

    Model answer

    The 'period of the reciprocal of a prime' refers to the number of digits that repeat in the decimal expansion of 1 divided by that prime number.

    Explanation

    When you divide 1 by a prime number (e.g., 1/7=0.142857142857...1/7 = 0.142857142857...1/7=0.142857142857...), the decimal expansion can either terminate or repeat. For prime numbers (other than 2 and 5), the decimal expansion is always non-terminating and repeating. The 'period' is the sequence of digits that repeats indefinitely. For 1/71/71/7, the period is '142857', which has 6 digits. Shanks' goal was to find the length of this repeating sequence for many different primes.

  5. 5

    How was Shanks' calculation for 1 divided by 60,013 described?

    Model answer

    Shanks claimed that the reciprocal of 60,013 would repeat after 5,001 digits, meaning 1/60,0131/60,0131/60,013 would display 5,001 unique digits before the sequence began repeating.

    Explanation

    For the prime number 60,013, William Shanks' results indicated that its reciprocal, 1/60,0131/60,0131/60,013, would have a repeating decimal period of 5,001 digits. This means that if one were to perform the long division, the first 5,001 digits after the decimal point would appear 'random' or unique, and then the entire 5,001-digit sequence would begin to repeat itself.

  6. 6

    What tool was used to verify Shanks' results during the video, and what was its outcome for 61,561?

    Model answer

    A Python software named 'ShanksBot' was used to verify Shanks' results. For the prime 61,561, both Shanks' original calculation and the ShanksBot agreed that its reciprocal had a period of 405 digits.

    Explanation

    To demonstrate the accuracy of William Shanks' work, a Python program dubbed 'ShanksBot' was developed. This software could automatically calculate the period length for reciprocals of primes. When tested with the prime number 61,561, the ShanksBot produced a result of 405 digits for its reciprocal's period, perfectly matching William Shanks' handwritten entry. This agreement between 19th-century manual calculation and modern computation highlights the precision of Shanks' efforts.

  7. 7

    Explain the long division process for finding the reciprocal of 7, specifically how the repeating pattern is identified.

    Model answer

    To find 1/71/71/7, long division starts by dividing 1 by 7. Remainders are generated at each step, and the process continues until a remainder is encountered that has been seen before. When the remainder '1' reappears, it signifies the start of the repeating sequence of digits, which for 7 is '142857'.

    Explanation

    The long division of 1 by 7 proceeds as follows:

    1. 1extdividedby71 ext{ divided by } 71extdividedby7 is 000 with a remainder of 111 (or 101010 divided by 777 is 111 with a remainder of 333). So the first digit is 0.10.10.1.
    2. Bring down a zero to make 303030. 30extdividedby730 ext{ divided by } 730extdividedby7 is 444 with a remainder of 222. Next digit is 444.
    3. Bring down a zero to make 202020. 20extdividedby720 ext{ divided by } 720extdividedby7 is 222 with a remainder of 666. Next digit is 222.
    4. Bring down a zero to make 606060. 60extdividedby760 ext{ divided by } 760extdividedby7 is 888 with a remainder of 444. Next digit is 888.
    5. Bring down a zero to make 404040. 40extdividedby740 ext{ divided by } 740extdividedby7 is 555 with a remainder of 555. Next digit is 555.
    6. Bring down a zero to make 505050. 50extdividedby750 ext{ divided by } 750extdividedby7 is 777 with a remainder of 111. Next digit is 777. At this point, the remainder is 111, which is the same as the initial dividend (or the number after the decimal point, 101010). Since the remainder 111 has recurred, the sequence of quotients (digits) will also repeat. Thus, 1/7=0.142857142857...1/7 = 0.142857142857...1/7=0.142857142857..., with a period of 6 digits.
  8. 8

    Do all primes result in an infinite repeating decimal for their reciprocals?

    Model answer

    Yes, all prime numbers, except for 2 and 5, will result in reciprocals with infinite repeating decimal expansions.

    Explanation

    This is a fundamental property of rational numbers. A fraction 1/p1/p1/p (where ppp is a prime) will have a terminating decimal representation if and only if the prime factors of its denominator are only 2 and/or 5. Since primes other than 2 and 5 do not have these factors, their reciprocals will always result in an infinite, repeating decimal expansion.

  9. 9

    In the context of long division for 1/p1/p1/p, what determines the maximum possible length of the repeating period?

    Model answer

    The maximum possible length of the repeating period for 1/p1/p1/p is p−1p-1p−1. This occurs because each remainder in the long division must be an integer between 1 and p−1p-1p−1, and once a remainder repeats, the decimal sequence will also repeat.

    Explanation

    During the long division of 1/p1/p1/p, where ppp is a prime, the remainder at each step will always be less than ppp and greater than 0. If a remainder were 000, the decimal would terminate, which doesn't happen for primes other than 2 and 5. If a remainder were equal to ppp, it would imply an error in division. Therefore, the possible remainders are 1,2,...,p−11, 2, ..., p-11,2,...,p−1. There are exactly p−1p-1p−1 such unique possible remainders. Once any remainder is repeated, the sequence of subsequent digits in the quotient will also repeat, creating the decimal period. The 'worst-case scenario' is that all p−1p-1p−1 possible remainders occur before a repeat, leading to a period length of p−1p-1p−1.

  10. 10

    Give an example of a prime number for which its reciprocal's period length is the maximum possible, p−1p-1p−1.

    Model answer

    The prime number 60,017 is an example where its reciprocal's period length is 60,016, which is p−1p-1p−1.

    Explanation

    For a prime ppp, if the reciprocal 1/p1/p1/p has a period length of p−1p-1p−1, it means that all possible non-zero remainders (from 111 to p−1p-1p−1) occurred during the long division process before any remainder repeated. This is the maximum possible period length. The example of 60,017, with a period of 60,016 digits, perfectly illustrates this 'worst-case scenario' in terms of period length.

  11. 11

    What did William Shanks' systematic errors in his corrections suggest about his calculation methods?

    Model answer

    Shanks' consistent corrections, often involving doubling or halving his period lengths, suggest he used a systematic technique possibly involving powers of two or similar steps, rather than direct long division for every digit.

    Explanation

    If Shanks had been performing simple long division by hand for tens of thousands of digits, his errors would likely have been more random or arithmetic in nature. However, the observation that his corrections frequently involved either doubling or halving the reported period length points to a specific algorithmic approach. This implies he might have been using a method that involved modular arithmetic, properties of powers, or some form of repetitive bisection or multiplication, where a missed step or an extra step could systematically alter the result by a factor of two.

  12. 12

    According to Shanks' note at the end of his work, what was the practical application of his table of prime reciprocals?

    Model answer

    Shanks stated that his table could be used to readily find the number of figures in the period of reciprocals of composite numbers by finding the least common multiple of the period lengths of their prime factors.

    Explanation

    Shanks believed his work was not merely an academic exercise. In a note, he explained that understanding the period lengths of prime reciprocals was useful for determining the period lengths of composite numbers. Specifically, one could achieve this by calculating 'the least common multiple of several numbers of figures in the...' associated prime reciprocals. This implies a method where if a composite number CCC is factored into its prime components p1,p2,...,pnp_1, p_2, ..., p_np1​,p2​,...,pn​, the period length of 1/C1/C1/C could be derived from the period lengths of 1/p1,1/p2,...,1/pn1/p_1, 1/p_2, ..., 1/p_n1/p1​,1/p2​,...,1/pn​ using the least common multiple (LCM) function.

  13. 13

    What is a 'primitive root' in the context of prime number reciprocals?

    Model answer

    A primitive root, specifically 10 as a primitive root for a prime ppp, means that the powers of 10 modulo ppp generate all numbers from 1 to p−1p-1p−1. This property directly relates to the reciprocal of ppp having the maximum possible period length of p−1p-1p−1.

    Explanation

    In modular arithmetic, for a prime number ppp, an integer ggg is a primitive root modulo ppp if the powers of ggg (i.e., g1,g2,g3,...,gp−1g^1, g^2, g^3, ..., g^{p-1}g1,g2,g3,...,gp−1) are distinct modulo ppp and cover all integers from 111 to p−1p-1p−1 (when taken modulo ppp). When 101010 is a primitive root modulo ppp, it means that the remainders generated during the long division of 1/p1/p1/p will cycle through all possible non-zero remainders (1,2,...,p−11, 2, ..., p-11,2,...,p−1) before repeating. This directly leads to the reciprocal 1/p1/p1/p having the maximum possible period length of p−1p-1p−1.

  14. 14

    How does the concept of a primitive root relate to the maximum period length of a reciprocal?

    Model answer

    If a prime number ppp has 10 as a primitive root, its reciprocal 1/p1/p1/p will have the maximum possible period length, which is p−1p-1p−1. This is because 10 being a primitive root ensures all p−1p-1p−1 possible remainders appear before the sequence repeats.

    Explanation

    For a prime ppp, the period length of its reciprocal 1/p1/p1/p is closely tied to the multiplicative order of 10 modulo ppp. If 10 is a primitive root modulo ppp, it means that 10^k otuf ext{congruent to} uf 1 ext{ (mod } p ext{)} for k<p−1k < p-1k<p−1. The order of 10 modulo ppp is then p−1p-1p−1. This multiplicative order directly corresponds to the length of the repeating decimal for 1/p1/p1/p. Therefore, if 10 is a primitive root, the reciprocal will indeed have the maximum possible period length of p−1p-1p−1.

  15. 15

    What is a 'Reptend prime'?

    Model answer

    A Reptend prime is a prime number whose reciprocal has the maximum possible period length, which is p−1p-1p−1. This occurs when 10 is a primitive root modulo that prime.

    Explanation

    The term 'Reptend prime' is used to describe primes that exhibit the 'worst-case scenario' in terms of reciprocal period length. For such primes ppp, the decimal expansion of 1/p1/p1/p contains p−1p-1p−1 repeating digits. This property is mathematically linked to 10 being a primitive root modulo ppp, meaning that the powers of 10 modulo ppp generate all possible non-zero residues before repeating. For example, 60,017 is a Reptend prime because its reciprocal has a period of 60,016 digits.

1 of 15
Question 1 of 15

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent