Professional Documents
Culture Documents
Exercise 1. For every integer n ≥ 0, let σ(n) be the sum of the positive divisors
of n.
(a) Find all positive integers n with σ(n) = 48.
(b) Find all positive integers n with σ(n) = 84.
Proof. (a) Let n be such that σ(n) = 48, let p be the largest prime divisor of n,
and write n = pa m for some m not divisible by p and some a ≥ 1. We have
σ(pa )σ(m) = (1 + p + · · · + pa )σ(m) = 48.
Assume first that a = 1. Then 1 + p is a divisor of 48, hence
p + 1 ∈ {1, 2, 4, 8, 16, 3, 6, 12, 24, 48},
that is,
p ∈ {2, 3, 5, 7, 11, 23, 47}.
We now consider each case separately, using that σ(m) = 48/(p + 1) and σ(m) ≥
m + 1.
• If p = 47, then σ(m) = 1, hence m = 1 and n = 47.
• If p = 23, then σ(m) = 2, which has no solutions.
• If p = 11, then σ(m) = 4, which implies m = 3, and so n = 33. If p = 7,
then σ(m) = 6, which implies m = 5 and n = 35.
• If p = 5, then σ(m) = 8, which implies m = 7, impossible because p is the
largest prime divisor of n.
• If p = 3, then n = 3 · 2b , which implies σ(2b ) = 12, that is, 2b+1 − 1 = 12,
which is impossible.
• If p = 2, then n = 2, which is not a solution.
Assume now that a ≥ 2. Then we must have 1 + p + p2 < 48, hence p ∈ {2, 3, 5}.
• If p = 5, then a ≥ 3 is impossible because 1 + 5 + 52 + 53 > 48, and a = 2
is impossible because 1 + 5 + 52 = 31 does not divide 48.
• If p = 3, then a ≥ 4 is impossible because 1 + 3 + 32 + 33 + 34 > 48, a = 3
is impossible because 1 + 3 + 9 + 27 = 40 does not divide 48, and a = 2 is
also impossible because 1 + 3 + 9 = 13 does not divide 48.
• If p = 2, then n = 2a , hence σ(2a ) = 2a+1 − 1 = 48, which is impossible.
Thus the only solutions are n = 33, 35, 47.
(b) One can run an argument similar to that of (a). The solutions are n =
44, 65, 83.
Exercise 2. Let Mn = 2n − 1 be the n-th Mersenne number.
(a) Prove that if Mn is prime, then so is n.
(b) Determine whether or not M11 = 211 − 1 is prime, using the fact that for a
prime p any divisor of Mp must be of form 2kp + 1 for k a positive integer.
Proof. (a) First solution. Assume that n = ab, where 1 < b < n. We have
2b ≡ 1 (mod 2b − 1),
1
2 SOLUTIONS TO TEST 5 - NOVEMBER 13
thus
2n = (2b )a ≡ 1a ≡ 1 (mod 2b − 1).
Since 1 < b < n, we have 1 < 2b − 1 < 2n − 1. It follows that 2b − 1 is a divisor of
2n − 1 different from 1 and 2n − 1, that is, Mn is not prime.
Second solution. Assume that n = ab, where a, b > 1. We have
a−1
X
2n − 1 = (2b )a − 1 = (2b − 1) 2bi .
i=0