Documente Academic
Documente Profesional
Documente Cultură
Beachy 1
1.1 Divisors
from A Study Guide for Beginners by J.A.Beachy,
a supplement to Abstract Algebra by Beachy / Blair
27. Prove that if a and b are nonzero integers for which a|b and b|a, then b = a.
Comment: The first step is to use Definition 1.1.1 to rewrite a|b and b|a as equations,
to give something concrete to work with. You will need to use the cancellation property
for integers (listed in Proposition A.3.6 in Appendix A.3 of Abstract Algebra).
Solution: Since a | b, there is an integer m with b = ma. Since b | a, there is an
integer k with a = kb. Substituting a = kb in the equation b = ma, we get b = m(kb),
so since b is nonzero we can cancel it to get 1 = mk. Since both m and k are integers,
and |1| = |m| |k|, we must have |m| = 1 and |k| = 1, so either b = a or b = a.
28. Prove that if a, b, c are integers for which a | b and a | c, then a2 | bc.
Solution: Assume that a | b and a | c. Then by definition there exist integers k and
q with b = aq and c = ak. Since we need to show that bc has a2 as a factor, we need
an expression for bc. Multiplying the equations gives us bc = (aq)(ak) = a2 (qk). This
shows that a2 | bc, as required.
1.1 J.A.Beachy 2
29. Find gcd(435, 377), and express it as a linear combination of 435 and 377.
Comment: You definitely cant avoid learning how to do these computations.
Solution: We will use the Euclidean algorithm. Divide the larger number by the
smaller, which gives you a quotient of 1 and a remainder of 58. Then divide the
remainder 58 into 377, and continue using the division algorithm, as shown below.
You then have the following equations.
The repeated divisions show that gcd(435, 377) = 29, since the remainder in the last
equation is 0. To write 29 as a linear combination of 435 and 377 we need to use the
same equations, but we need to solve them for the remainders.
58 = 435 1 377
29 = 377 6 58
Now take the equation involving the remainder 29, and substitute for 58, the remainder
in the previous equation.
29 = 377 6 58
= 377 6 (435 1 377)
= 7 377 6 435
This gives us the linear combination we are looking for: 29 = (7)(377) + (6)(435).
30. Find gcd(3553, 527), and express it as a linear combination of 3553 and 527.
Comment: This time we will use the matrix form of the Euclidean algorithm. You
should be able to use both the back-solving form (as in Problem 29) and the matrix
form. In Chapter 4 the Euclidean algorithm is used for polynomials, and there the
matrix method gets too complicated, so you will have to use the back-solving method.
Solution: The first step is to divide the smaller number into the larger,
giving 3553 =
1 0 3553
6527+391, and this tells us to multiply the bottom row of the matrix
0 1 527
by 6 and subtract from the first row. Remember the goal: to use row operations to
minimize the entries in the right hand column (keeping them 0). Guided by repeated
use of the division algorithm, we have
1 0 3553 1 6 391 1 6 391
; ; ;
0 1 527 0 1 527 1 7 136
3 20 119 3 20 119 31 209 0
; ; .
1 7 136 4 27 17 4 27 17
Therefore gcd(3553, 527) = 17, and 17 = (4)(3553) + (27)(527).
1.1 J.A.Beachy 3
31. Which of the integers 0, 1, . . . , 10 can be expressed in the form 12m + 20n, where m, n
are integers?
Solution: Theorem 1.1.6 provides the answer. An integer k is a linear combination
of 12 and 20 if and only if it is a multiple of their greatest common divisor, which is
4. Therefore we can express 0, 4, and 8 in the required form, but we cant do it for
the rest.
Comment: Check out the answer in concrete terms. We can write
0 = 12 0 + 20 0; 4 = 12 2 + 20 (1); 8 = 12 (1) + 20 1.
34. Prove that if k is a positive odd integer, then any sum of k consecutive integers is
divisible by k.
Solution: We can represent the k consecutive integers as n + 1, n + 2, . . ., n + k. Then
Pk Pk Pk k(k+1)
i=1 (n + i) = i=1 n + i=1 i = kn + 2
Comment: If youve forgotten the formula 1 + 2 + . . . + k = k(k + 1)/2, you can find
it in Example A.4.1 of Appendix A.4 in Abstract Algebra. The example includes
a proof of the formula, using mathematical induction.
n
0 0 1 1 0 0
35. Prove that if n is a positive integer, then 0 1 0 = 0 1 0
1 0 0 0 0 1
if and only if 4|n.
Comment: Lets use A for the matrix, and I for the identity matrix. The proof must
be given in two pieces. We need to show that if 4|n, then An = I. We also need to
show that An = I only when 4|n, and this is easier to state as the converse of the first
statement: if An = I, then 4|n. The first half of the proof is easier than the second,
since it just takes a computation. In the second half of the proof, if An = I then we
will use the division algorithm, to divide n by 4, and then show that the remainder
has to be 0.
Solution: We begin by computing A2 , A3 = A A2 , A4 = A A3 , etc.
2
0 0 1 0 0 1 0 0 1 1 0 0
0 1 0 = 0 1 0 0 1 0 = 0 1 0
1 0 0 1 0 0 1 0 0 0 0 1
3
0 0 1 0 0 1 1 0 0 0 0 1
0 1 0 = 0 1 0 0 1 0 = 0 1 0
1 0 0 1 0 0 0 0 1 1 0 0
4
0 0 1 0 0 1 0 0 1 1 0 0
0 1 0 = 0 1 0 0 1 0 = 0 1 0
1 0 0 1 0 0 1 0 0 0 0 1
Now we can see that if 4|n, say n = 4q, then An = A4q = (A4 )q = I q = I.
Conversely, if An = I, we can use the division algorithm to write n = 4q + r, with r
equal to one of 0, 1, 2, 3. Then Ar = An4q = An (A4 )q = I I q = I, so r = 0 since
A, A2 , and A3 are not equal to I. We conclude that 4|n.
1 3
36. For the complex number = + i, prove that n = 1 if and only if 3|n, for any
2 2
integer n.
Solution: Since (a + bi)(c + di) = (ac bd) + (ad + bd)i, a short calculation shows
1 3
that 2 = i, and 3 = 1. If n Z, and 3|n, then n = 3q for some q Z.
2 2
Then n = 3q = ( 3 )q = 1q = 1. Conversely, if n Z and n = 1, use the division
algorithm to write n = q 3 + r, where the remainder satisfies 0 r < 3. Then
1 = n = 3q+r = ( 3 )q r = r . Since r = 0, 1, 2 and we have shown that 6= 1 and
2 6= 1, the only possibility is r = 0, and therefore 3|n.
37. Give a proof by induction to show that each number in the sequence 12, 102, 1002,
10002, . . ., is divisible by 6.
1.1 J.A.Beachy 5
Comment: If you are unsure about doing a proof by induction, you should read
Appendix A.4 in Abstract Algebra.
Solution: To give a proof by induction, we need a statement that depends on an
integer n. We can write the numbers in the given sequence in the form 10n + 2, for
n = 1, 2, . . ., so we can prove the following statement: for each positive integer n, the
integer 10n + 2 is divisible by 6.
The first step is to check that the statement is true for n = 1. (This anchors the
induction argument.) Clearly 12 is divisible by 6.
The next step is to prove that if we assume that the statement is true for n = k,
then we can show that the statement must also be true for n = k + 1. Lets start by
assuming that 10k + 2 is divisible by 6, say 10k + 2 = 6q, for some q Z, and then
look at the expression when n = k + 1. We can easily factor a 10 out of 10k+1 , to get
10k+1 + 2 = (10)(10k ) + 2, but we need to involve the expression 10k + 2 in some way.
Adding and subtracting 20 makes it possible to get this term, and then it turns out
that we can factor out 6.
38. Give a proof by induction to show that 52n 1 is divisible by 24, for all positive
integers n.
Solution: For n = 1, we have 52n 1 = 24, so the result certainly holds in this case.
Next, assume that the result holds for n = k. For n = k + 1, we have the following
expression.
41. Find gcd(475, 385) and express it as a linear combination of 475 and 385.
Answer: gcd(475, 385) = 5 = (30)(475) + (37)(385)
Note: 0 = (77)(475) + (95)(385)
43. Find gcd(5917, 4331) and express it as a linear combination of 5917 and 4331.
Answer: gcd(5917, 4331) = 61 = (30)(5917) + (41)(4331)
Note: 0 = (71)(5917) + (97)(4331)