Formulas for Primes
Prev: Floating-Point
Sections
18-1Introduction18-2Willans’s Formulas18-3Wormell’s Formula18-4Formulas for Other Difficult Functions
Problems
-
Prove that for any non-constant polynomial with integral coefficients, is composite for an infinite number of values of .
Hint: if , consider , where is an integer greater than 1.
-
Prove Wilson’s theorem: an integer is prime if and only if
Hint: to show that if is prime, then , group the terms of the factorial in pairs such that . Use Theorem MI of Section 10-16 on page 240.
-
Show that if is a composite integer greater than 4, then
-
Calculate an estimate of the value of that satisfies Mills’s theorem, and in the process give an informal proof of the theorem. Assume that for there exists a prime between and . This depends upon the Riemann Hypothesis, although it has been proved independent of RH for sufficiently large .
-
Consider the set of numbers of the form described in the book, where and are integers. Show that 2 and 3 are primes in this set, that is, they cannot be decomposed into factors in the set unless one of the factors is , a unit. Continue the exercise from the book’s final sentence.