Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.8.31* (Least period of the decimal expansion of $1/p$)

Exercise 2.8.31* (Least period of the decimal expansion of $1/p$)

Show that the decimal expansion of 1 p has period p 1 if and only if 10 is a primitive root of p . (It is conjectured that if g is not a square, and if g 1 , then there are infinitely many primes of which g is a primitive root.)

Answers

Proof. If p = 2 or p = 5 , then 10 0 ( mod p ) , so 10 is not a primitive root modulo p . Now we can suppose that p 10 = 1 . By Problem 30, the order k of 10 modulo p is equal to the least period of the decimal expansion of 1 p . Thus this least period is p 1 if and only if the order of 10 is p 1 , if and only if 10 is a primitive root modulo p .

For instance the least period of the decimal expansion of 1 9967 is 9966 . □

User profile picture
2024-09-21 09:43
Comments