Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.2.8 (Primes $p$ such that $\genfrac{(}{)}{}{}{10}{p} = 1$.)
Exercise 3.2.8 (Primes $p$ such that $\genfrac{(}{)}{}{}{10}{p} = 1$.)
Find all primes such that .
Answers
Proof. Since ,
Therefore, using ,
So
(The first such primes are ) □
Verification with Sage.
sage: prem = prime_range(1000) sage: l1 = [p for p in prem if kronecker(10,p) == 1] sage: l2 = [p for p in prem if p % 40 in [1, 3, 9 ,13, 27, 31, 37, 39]] sage: l1 == l2 True
2024-10-23 09:38