Professional Documents
Culture Documents
Number Theory Homework 1
Number Theory Homework 1
Number Theory Homework 1
MATH 115
NUMBER THEORY
PROFESSOR PAUL VOJTA
NOAH RUDERMAN
Problems 1.2.1c, 1.2.2, 1.2.3e, 1.2.14, 1.2.19, 1.2.21, 1.3.6, 1.3.14, 1.3.16, 1.3.18, 1.3.21,
1.4.2, 1.4.6, and 1.4.9 from An Introduction to The Theory of Numbers, 5th edition, by Ivan
Niven, Herbert S. Zuckerman, and Hugh L. Montgomery
Problem (1.2.1)
Solution.
c.
|{z} = 1 ∗ 2947
3997 |{z} + |{z}
1050
r0 r1 r2
|{z} = 2 ∗ 1050
2947 |{z} + |{z}
847
r1 r2 r3
|{z} = 1 ∗ |{z}
1050 847 + |{z}
203
r2 r3 r4
847 = 4 ∗ |{z}
|{z} 203 + |{z}
35
r3 r4 r5
203 = 5 ∗ |{z}
|{z} 35 + |{z}
28
r4 r5 r6
35 = 1 ∗ |{z}
|{z} 28 + |{z}
7
r5 r6 r7
28 = 4 ∗ |{z}
|{z} 7 + |{z}
0
r6 r7 r8
Solution.
|{z} = 1 ∗ 1819
3587 |{z} + |{z}
1768
r0 r1 r2
|{z} = 1 ∗ 1768
1819 |{z} + |{z}
51
r1 r2 r3
|{z} = 34 ∗ |{z}
1768 51 + |{z}
34
r2 r3 r4
51 = 1 ∗ |{z}
|{z} 34 + |{z}
17
r3 r4 r5
34 = 2 ∗ |{z}
|{z} 17 + |{z}
0
r4 r5 r6
so x = −140, y = 71.
2
Problem (1.2.3)
Solution.
e. From
f (x, y, z) = 6x + 10y + 15z = 1,
we see that
f (x, y, z) ≡ 1 mod n, n ∈ Z+ .
For n = 2, 3, 5 we get the congruences
z≡1 mod 2
y≡1 mod 3
x≡1 mod 5.
The gcd of 6 and 10 is 2 such that 6 · −3 + 10 · 2 = 2. Next, we see that
6x + 10y = 1 − 15z
= 1 − 15(2k + 1) (since z is odd)
= 1 − 30k − 15
= −14 − 30k
= 2(−7 − 15k)
= (6 · −3 + 10 · 2)(−7 − 15k)
= 6 · (3(7 + 15k)) + 10 · (2(−7 − 15k)),
so
z = 2k + 1
x = 21 + 45k
y = −14 − 30k
3
Problem (1.3.14)
Solution.
4
Problem (1.3.19)
Solution.
Then min (αi (p), αj (p)) = 0 for all prime p. We prove that the set of numbers is relatively
prime by contradiction. Suppose, they are not relatively prime. Then
gcd(a1 , a2 , . . . , an ) 6= 1.
This implies that
min(α1 (p), α2 (p), . . . , αn (p)) 6= 0
for some prime p. From this we have,
αk (p) ≥ 1
for all 1 ≤ k ≤ n for some p. Therefore
(2) min(αi (p), αj (p)) ≥ 1
for all i, j given some prime p. This contradicts equation 1. Therefore,
gcd(a1 , a2 , . . . , an ) = 1
5
Problem (1.3.21)
Solution.
Regardless of the value of k, it is easy to see that 6k + 5 ≡ 1 mod 2. Thus, we can write
odd numbers of the form 6k + 5. If we can also write that number in the form 3k 0 − 1, then
3k 0 − 1 ≡ 1 mod 2
0
3k ≡ 2 mod 2
3k 0 ≡ 0 mod 2
0
k ≡0 mod 2,
so k is even. Now we try to find a formula for k in terms of k 0 if a number can be written
0
6
Problem (1.3.6)
Solution.
By the fundamental theorem of arithmetic, any number n ∈ Z+ can be written uniquely (up
to a permutation) in form Y
n= pα(p)
p
where p is prime. We can factor our factors of 2 to get
Y
2α(2)
n = |{z} pα(p) .
2r p6=2
| {z }
m
Since all primes other than 2 are odd, m is the product of odd numbers and must also be
odd. Since r = α(2) and α(p) ≥ 0 for all prime p, r ≥ 0, completing the proof.
7
Problem (1.3.14)
Solution.
In this proof I use the fact that if gcd(a, b) = d and gcd(a, c) = 1 then gcd(a, bc) = d. I also
use the notation pe k a for a prime p and e, a ∈ Z to mean that e is the highest power of p
that divides a.
It is clear that from gcd(a, p2 ) = p that p k a. Thus, np = a for some n ∈ Z where
gcd(n, p) = 1.
Likewise, from gcd(b, p3 ) = p2 we see that p2 k b. Thus, mp2 = b for some m ∈ Z where
gcd(m, p2 ) = 1. This also implies gcd(m, p) = 1.
Now we can prove gcd(ab, p4 ) = p3 . We know that
(3) gcd(p4 , p3 ) = p3 .
Since gcd(p, n) = 1 and gcd(p, m) = 1, gcd(p, nm) = 1 and therefore
(4) gcd(p4 , nm) = 1.
Combining equations 3 and 4 we get
gcd(p4 , mnp3 ) = 1
gcd(p4 , ab) = 1
gcd(ab, p4 ) = 1
Now we aim to prove that gcd(a + b, p4 ) = p. We start with gcd(n + mp, p). Clearly this
gcd is equal to 1 or p. If the gcd is p, then p | n + mp. Since p | mp, then p | n. But
gcd(n, p) = 1, so p 6 | n. Thus, the gcd is 1 so
(5) gcd(p4 , n + mp) = 1
Clearly,
(6) gcd(p4 , p) = p
Combining equations 5 and 6, we have
gcd(p4 , p(n + mp)) = p
gcd(p4 , pn + mp2 ) = p
gcd(p4 , a + b) = p
gcd(a + b, p4 ) = p
8
Problem (1.3.16)
Solution.
9
Problem (1.3.18)
Solution.
(←−)
We see that Y
c= pmin(α(p),β(p))
p
Clearly,
!2
Y
2 α(p)
a = p
p
Y 2
= pα(p)
p
Y
= p2α(p) ,
p
and
!2
Y
b2 = pβ(p)
p
Y 2
= pβ(p)
p
Y
= p2β(p) .
p
0 2 2
Let c = gcd(a , b ). Then Y
c0 = pmin(2α(p),2β(p)) .
p
But
!2
Y
c2 = pmin(α(p),β(p))
p
Y 2
= pmin(α(p),β(p))
p
Y
= p2·min(α(p),β(p))
p
10
Y
= pmin(2α(p),2β(p)) .
p
(−→)
To prove the converse, assuming gcd(a2 , b2 ) = c2 , we simply reverse the steps for how we
2 2 2
Q min(α(p),β(p))
calculated a , b and c to get formulas for a, b, c. We know that gcd(a, b) = p p ,
which is equal to c, so c = gcd(a, b).
11
Problem (1.3.21)
Solution.
Consider an arbitrary prime p. The exponent for this prime on the left hand side is
max(α(p), β(p), γ(p)) + min(α(p) + β(p), β(p) + γ(p), γ(p) + α(p)).
Suppose that α(p) ≥ β(p) ≥ γ(p)). Then
max(α(p), β(p), γ(p)) = α(p),
and
min(α(p) + β(p), β(p) + γ(p), γ(p) + α(p)) = β(p) + γ(p),
so
max(α(p), β(p), γ(p)) + min(α(p) + β(p), β(p) + γ(p), γ(p) + α(p)) = α(p) + β(p) + γ(p).
We see that the right hand side is the exponent for the same prime in the prime factorization
of |abc|.
Since the ordering of the exponents α(p), β(p) and γ(p) was arbitrary, this holds for any
ordering. Furthermore, since p was an arbitrary prime, this condition holds for any prime p.
Thus the exponents for each prime are the same on each side of equation 7 so the equation
is true.
12
Problem (1.4.2)
Solution.
= −(−1)n+1 + (−1)n+1
= 0.
Here, (*) is from multiplying both sides of equation 8 by -1. Thus, the inductive step is true.
Next, we use the base case of n = 1, where
1
k 1 0 1 1 1
X
(−1) = (−1) + (−1)
k=0
k 0 1
=1−1
= 0,
completing the proof.
13
Problem (1.4.6)
Solution.
We aim to show that if f (x), g(x) are n-times differentiable, then the nth derivative of
f (x)g(x) is
n
X n (k)
(9) f (x)g (n−k) (x).
k=0
k
We will prove this with induction. First, assume equation 9. Next,
n n
d X n (k) (n−k)
X n
f (k+1) (x)g (n−k) (x) + f (k) (x)g (n+1−k) (x)
f (x)g (x) =
dx k=0 k k=0
k
n
X
(k) (n+1−k) n n
= f (x)g (x) + + f (n+1) (x)g (0) (x)
k=0
k − 1 k
n
X
(k) (n+1−k) n+1
= f (x)g (x) + f (n+1) (x)g (0) (x)
k=0
k
n+1
X
(k) (n+1−k) n+1
= f (x)g (x) .
k=0
k
As our base case, suppose n = 0.
0
X 0 (k) (0−k) 0 (0)
f (x)g (x) = f (x)g (0) (x)
k=0
k 0
= f (x)g(x).
Thus, equation 9 is true for all n ≥ 0.
14
Problem (1.4.9)
Solution.
We aim to prove this by induction. For our induction step, suppose that
k
j k
X
n
(10) ∆ f (x) = (−1) f (x + k − j)
j=0
j
We see that
∆n+1 f (x) = ∆(∆n f (x))
k
j k
X
=∆ (−1) f (x + k − j)
j=0
j
k
j k
X
= (−1) ∆f (x + k − j)
j=0
j
k
j k
X
= (−1) (f (x + (k + 1) − j) − f (x + k − j))
j=0
j
k
j k k
X
j−1
= f (x + (k + 1) − j) (−1) − (−1) − f (x)(−1)k
j=0
j j − 1
k
j k+1
X
= f (x + (k + 1) − j)(−1) − f (x)(−1)k
j=0
j
k
j k+1
X
= f (x + (k + 1) − j)(−1) + f (x)(−1)k+1
j=0
j
k+1
j k+1
X
= (−1) f (x + (k + 1) − j),
j=0
j
completing the induction step.
As our base case, consider k = 1.
1
j 1 0 1 1 1
X
(−1) f (x + 1 − j) = (−1) f (x + 1 − 0) + (−1) f (x + 1 − 1)
j=0
j 0 1
= f (x + 1) + −f (x)
= ∆f (x)
by definition. Thus, equation is true for all k ≥ 1.
15