Due Friday, April 30.
Read ยง6D on your own. We'll do more with this later.
To do but not hand in:
p. 84, Ex. 1;
p. 86, Ex. 3;
p. 90, Ex. 8;
E-1, E-5 below.
To hand in:
p. 84, Ex. 3;
p. 86, Ex. 4;
pp. 89-90, Ex's 4 and 9;
D-2 (which previously was ``not to hand in'');
E-2, E-3, and E-4 below.
Problem
E-1. Find the remainder when
is divided (a) by 16;
(b) by 17. Check using the power routine on the course home page.
Problem
E-2. Some primes are sums of two squares, e.g.,
.
(a) Show using congruences that such a prime is either 2 or is
of the form for some
.
(b) An interesting fact is that every prime of the form
is the sum of two squares, and in only one way (up to ordering).
Write each of 29, 61, and 97 as the sum of two squares.
Problem
E-3. Recall the proof that is irrational. There is
a much more general fact that is no harder to prove.
A real number is called an algebraic integer if it is the
root of a polynomial with integer coefficients and leading
coefficient 1:
.
Examples: is an algebraic integer since it is a
root of the polynomial
. Also, 7 is an algebraic
integer since it's the root of
.
Notice that the concept of an algebraic integer is more general than the concept of an ordinary integer, not more special. Also, the definition of algebraic integer can be used for complex numbers too, but we won't.
Theorem. A (real) algebraic integer is either an ordinary integer or irrational.
(a) Explain why this theorem shows is irrational
(and
, etc., too).
(b) Prove the theorem.
Suggested method: Suppose that a fraction
in
lowest terms (so
are coprime and
) is a root
of
, i.e.,
that
(c) Prove that
is irrational.
Problem
E-4. To make very large primes, one way is to look for
primes of the form , where
and
are
integers. But most values of
and
won't work.
(a) Explain why, if is prime with
, then
must be 2.
(Useful: Recall from algebra that
; this arises
in summing a finite geometric series. Or if that isn't
familiar, just expand the right-hand side to check.)
(b) Explain why, if is prime, then
itself
must be prime. (Suggestion: If
factors nontrivially,
turn that into a violation of (a).)
(c) Let's write
, where
is prime.
If
is prime, it is called a Mersenne prime.
The catch is that
might not be prime,
depending on the prime
. Find the lowest prime
for which
is not prime. (To test numbers for being
prime, you may use the factoring program on the class home page.)
Note: People search for large Mersenne primes to test advanced
factoring programs. In fact, at the moment the largest known
prime is a Mersenne prime. For the latest record, see
http://www.mersenne.org/prime.htm
.
Problem
E-5. Continuing from Problem Problem E-: Another
way to make large primes is to look for primes of the form
.
(a) Show that if is prime with
, then
must be even. (Easy.)
(b) Show that if is prime with
, then
must be even.
(Useful: Putting for
in the earlier problem,
observe that if
is odd then
. For
example,
factors as
.)
(c) Show that in fact, if is prime with
,
then
cannot have any odd factors at all. In other
words,
must be a power of 2.
(d) Consider the case and write
,
for
.
might or might not be
prime, depending on
, but if it is prime then it is called a
Fermat prime. Find the first
for which
is not prime, using the factorization routine on the
class home page and perhaps a hand calculator. (Possibly useful:
the calculator will accept an input expression involving + and/or *,
but unfortunately not one involving exponentiation.)