Number - Theory 23 1
Number - Theory 23 1
Number - Theory 23 1
2. Let a and b be integers with a > b > 1. Let λ(a, b) denote the number of individual
applications of the division algorithm required by Euclid’s algorithm to compute
the greatest common divisor of a and b.
(i) Find a pair of four-digit numbers a and b for which λ(a, b) is very small.
(ii) Find a pair of four-digit numbers a and b for which λ(a, b) is large.
(iii) Find constants c and d such that λ(a, b) ⩽ c log b + d.
6. Let q be an odd prime. Prove that every prime factor of 2q − 1 must be congruent
to 1 mod q, and also congruent to ±1 mod 8. Use this to factor 211 − 1 = 2047.
7. We say that a positive integer n is perfect if the sum of all the positive divisors of
n is equal to 2n. Prove that a positive even integer n is perfect if and only if it can
be written in the form n = 2q−1 (2q − 1), where 2q − 1 is prime.
(It is conjectured that there are no odd perfect numbers, but this is as yet un-
known.)
thorne@dpmms.cam.ac.uk -1 -
8. By considering numbers of the form n = (22 · 3 · 5 · · · p) − 1, prove that there are
infinitely many primes congruent to 3 mod 4.
9. Find the smallest non-negative integer x satisfying the congruences x ≡ 2 (mod 3),
x ≡ 3 (mod 5), x ≡ 4 (mod 11), x ≡ 5 (mod 16).
10. Find all integers x satisfying both 19x ≡ 103 (mod 900) and 10x ≡ 511 (mod 841).
12. Prove that the classes of both 2 and 3 generate (Z/5n Z)× for all positive integers n.
For each of the primes p = 11, 13, 17 and 19, find a generator of (Z/pn Z)× for all
n ⩾ 1.
13. Let A be the group (Z/65520Z)× . Determine the least positive integer n such that
g n = 1 for all g in A.
14. Let a and n be integers greater than 1, and put N = an − 1. Show that the order
of a + N Z in (Z/N Z)× is exactly n, and deduce that n divides ϕ(N ). If n is a
prime, deduce that there are infinitely many primes q such that q ≡ 1 (mod n).
thorne@dpmms.cam.ac.uk -2 -