Skip to main content

Exercises 6.12 Exercises

1.

Let \(n \) represent an integer with \(n \ge 2 \text{.}\) Prove that \(n \) is prime if and only if \(n/m \) is not an integer for every integer \(m \) with \(2 \le m \lt \frac{n}{2} \text{.}\)

2.

Let \(n \) represent an integer with \(n \ge 2 \text{.}\) Suppose \(p_1,p_2,\dotsc,p_\ell \) is a complete list of prime numbers which are less than or equal to \(n/2 \text{.}\) Prove that \(n \) is prime if and only if none of the \(p_i \) divide \(n \text{.}\)
Careful. Is the statement actually true in the case \(n=2 \text{?}\) \(n=3 \text{?}\) (Why should these cases be given special consideration?)

3.

Call two people twins if they share the same mother and the same birthdate. Consider the statement: β€œif two people are twins, then they share the same birthdate.”

4.

Prove directly: The sum of two rational numbers is a rational number.

5.

Prove directly: If \(n \) is even, then \(n^2 \) is divisible by \(4 \text{.}\)

6.

Recall that the triangle inequality states that \(\abs{x+y} \le \abs{x} + \abs{y} \) for all numbers \(x \) and \(y \text{.}\)
Use the triangle inequality to prove directly: \(\abs{x+y+z} \le \abs{x} + \abs{y} + \abs{z} \) for all numbers \(x,y,z \text{.}\)

7.

Prove by reduction to cases: \(n^3 - n \) is always divisible by \(3 \text{.}\)
Hint.
Use cases \(n = 3m, 3m+1, 3m+2 \text{.}\)

8.

Prove by proving the contrapositive: if \(2^n - 1 \) is prime, then \(n \) is prime.
Hint.
You may find the following β€œdifference of powers” factorization formula useful:
\begin{equation*} x^m - y^m = (x-y)(x^{m-1} + x^{m-2}y + x^{m-3}y^2 + \dotsb + x^2y^{m-3} + x y^{m-2} + y^{m-1}). \end{equation*}

11.

Prove by contradiction: If \(m \) and \(n \) are integers such that \(11m + 19n \) is odd, then either \(m \) or \(n \) (or both) must be odd.

12.

Prove by contradiction: For \(x,y>0 \text{,}\) \(\sqrt{x+y} \ne \sqrt{x} + \sqrt{y} \text{.}\)

14.

Prove that if \(\ell \text{,}\) \(m \text{,}\) and \(n \) are integers such that \(\ell \) divides \(m \) and \(\ell \) divides \(n \text{,}\) then \(\ell \) divides \(mn \text{.}\)

15.

Prove that if \(\ell \text{,}\) \(m \text{,}\) and \(n \) are integers such that \(mn \) divides \(\ell \text{,}\) then both \(m \) and \(n \) divide \(\ell \text{.}\)

16.

Suppose that \(m \) and \(n \) are integers, and \(p \) is a prime number. Prove that if \(p \) does not divide the product \(mn \text{,}\) then \(p \) cannot divide either of \(m \) or \(n \text{.}\)

Working with a definition.

ExercisesΒ 17–19 concern the following definitions.
A square number is an integer which is equal to the square of some integer. An integer is square free if it is not divisible by any square number other than \(1 \text{.}\)

18.

Prove that a positive number \(n \) is square free if and only if for every factorization \(n = ab \text{,}\) the integers \(a \) and \(b \) do not share a common factor other than \(1 \text{.}\)

19.

Prove that a positive number is square free if and only if it is not divisible by the square of a prime number.

20.

A pair of prime numbers \(p_1,p_2 \) is called a twin prime pair if \(p_2 = p_1 + 2 \text{.}\) A prime number is called an isolated prime if it is not part of a twin prime pair.
For some parts of this exercise, you may wish to consult a table of small primes, such as Wikipedia’s list of prime numbers.

(c)

Prove that if \(p, p+2 \) is a twin prime pair with \(p \ge 5 \text{,}\) then \(p+1 \) is divisible by \(6 \text{.}\)

(d)

Prove that if \(p, p+2 \) is a twin prime pair, then \(p-2,p \) and \(p+2,p+4 \) cannot be twin prime pairs.