By using the Euclidean algorithm, find the GCD of the following:
7469 & 2464
2689 & 4001
2947 & 3997
1109 & 4999
Proof
(1):
So
So .
So .
So .
☐
2
Question
Find then find integers that satisfy:
Proof
For finding :
So . Solving where :
Therefore comparing the two:
☐
3
Question
Find to satisfy:
Proof
(1):
So . Further:
So:
(2):
Thus . Further:
Therefore:
Here we have .
(3): :
So :
Therefore:
Here .
(4): :
. But also:
Thus:
Here .
(5):
Go one pair of terms at a time.
Thus and:
Now:
Thus but more importantly:
Thus:
Here .
☐
4
Question
Find the and .
Proof
For each we can do the following:
(1):
So in fact if we notice further we have:
Therefore then:
(2):
They are 1 apart, so they can't share any common factors, so . Therefore:
☐
5
Question
How many integers between 100 and 1000 are divisible by 7?
Proof
All we have to do is make an arithmetic progression by starting at the lowest number above 100 that's divisible by 7, and end before 1000 in a similar manner. Notice that:
Since . Therefore, start at 102 in the AP:
Every 7 integers we move we get a new divisible by 7 number:
We want to know when:
Thus since is an integer:
Thus takes on values, so clearly we have that many integers divisible by 7 in that range.
☐
6
Question
Prove that the product of 3 consecutive integers is divisible by 6; of four consecutive integers by 24
Proof
To prove for all , we have the following cases:
If is even then clearly then so .
If is odd then clearly is even so then has a factor of 2.
Therefore clearly . By a similar argument we have the following cases:
If then so then
If then by equivalence. Therefore then so clearly by definition. So then .
If then by equivalence. Then so clearly by definition. So then so .
In all cases we have so clearly divides .
We can extend the fact that by considering the cases:
If then so .
If then so then so
... (continue with and )
We always get so then since clearly so then divides .
☐
7
Question
Exhibit three integers that are relatively prime but not relatively prime in pairs
Proof
We can't just choose 3 numbers that are all consecutive because of the second condition. What would help is to just take the prime numbers:
and take groups of factors for the different numbers. For example:
But this doesn't work since we need to have them be non-relatively prime in pairs. What would help is to instead choose shared factors; one between , another between , and another for . For example:
Here we have . All are relatively prime (not one prime factor exists between all of them); however, we do have it that share a factor of 2, and share a factor of , and share the factor of .
☐
9
Question
Show that if then .
Proof
Suppose , so then where . Notice then that:
Now if then that would be an undefined case since then , so we have to assume . Therefore , so then as expected.
☐
11
Question
Prove that for all .
Proof
Proof by induction, since clearly the case for will apply the same for since .
For notice that as expected. Now suppose that for all . We'll prove the case, namely:
So notice that we must show that , but this is easy. Assume for contradiction that instead so then . But then . But 1 doesn't have a factor of 2! Therefore this is a contradiction, so then .
☐
13
Question
Prove that:
is divisible by for every integer
is divisible by
is divisible by 30
Proof
(1): Notice that . Now if is even then clearly and if is odd then is even so so then .
(2): Notice that so then since which is divisible by 6 via 1.2 Practice#6.
(3): Notice that:
So then clearly via (2) then we have . We just need to then show that . Notice:
If we have either where then we have divisibility by our factors .
If we have then so clearly .
If we have then so clearly
In all cases we have divisibility by 5, so therefore then .
☐
15
Question
Prove that if both are odd, then is even but not divisible by 4.
Proof
Say are odd. Then and for . Then:
Notice that is an integer so then . By the division algorithm then divided by always gives so then clearly .
To show that is even, notice:
So then .
☐
17
Question
Evaluate where is a positive integer.
Proof
Notice that using Euclid's Algorithm:
So then it terminates where . Furthermore:
☐
19
Question
Prove that any set of integers that are relatively prime in pairs are relatively prime.
Proof
Let be arbitrary, where each . We'll show that for all that .
Consider the sequence of integers of . Namely:
Now let's induct over the difference . If , then we have:
where . By definition of the set then as required.
Now consider for some that if we have then via the inductive hypothesis. We'll show that and then we are done. Notice that:
But via the inductive hypothesis then , so then:
Completing the induction.
☐
21
Question
Prove that if an integer is of the form , then it is necessarily of the form , but not conversely.
Proof
We'll show first. Suppose . We'll show that it is of the form . Notice that:
Choose . Then clearly as expected.
Now via the following counter-example. Namely, if we have then:
Now if we assume for contradiction that is a valid form then:
Which is impossible. Thus .
☐
23
Question
Prove that the square of any integer is of the form or but not .
Proof
Let be arbitrary. Notice that so we can restrict specifically.
Notice by the Division Algorithm that since is an integer, then are the only possible forms. So, we only have to show that is impossible.
Assume for contradiction that was indeed possible. Furthermore, since is an integer we have the following cases:
. Then so then which is a contradiction (2 doesn't have a factor of 3).
. Then which is a contradiction (1 doesn't have a factor of 3).
. Then which is a contradiction (2 doesn't have a factor of 3).
In all cases we get a contradiction, so clearly must be impossible.
☐
25
Question
Prove that there are infinitely many pairs of integers satisfying and .
Proof
Let be arbitrary. Then choose to fit with our first equation. We'll show that . Using Property 4 of our equivalences:
Now we know that has 5 as a factor. Thus, we can just choose where is arbitrary. Then clearly:
Thus to be more specific, choose only such that ; in other words, choose such that is coprime with .
To ensure that there are infinitely many to do this, just have where is any integer. We notice that and via induction over we can see that if then by Properties of Divisibility.
☐
27
Question
Find positive integers satisfying the equations and simultaneously. Find all solutions.
Proof
Notice that:
So here:
Let be arbitrary. Then clearly must just be all the factors that misses; namely it must be all the divisors of . We can go through them all:
Thus then the solutions are all such that is the missing divisor from the set from whatever is. In this case:
1
1000
2
500
4
250
8
125
5
200
10
100
20
50
40
25
Here we can flip on the table to get the rest of the solutions. Namely, there are 16 ordered pairs of solutions!
☐
29
Question
Let be given positive integers. Prove that integers exist satisfying and iff .
Proof
Always where and for any. Now notice that if we have that then:
To show suppose that . Then where (has to be positive in these cases). Then:
Thus then just choose and to complete the equation.
To show , suppose where . We'll show that . Namely, notice that since then and by having as a divisor, for some . Then:
But since then so then clearly:
Thus by definition since is an integer, then as required.
☐
31
Question
Let and both be integers. Prove that .
Proof
Let's prove this by induction over . For the base case when notice that:
So since is an integer then clearly for the case.
Now suppose for induction that for the -th case. We show that the -th case is satisfied. Notice that:
Now notice that . Further by our inductive hypothesis then we have . Therefore by Property 3 we have:
completing the inductive step.
☐
33 (Finish, look at gcd(a,b+ax) proof)
Question
Prove that and more generally that .
Proof
We'll prove the latter which proves the former. Let be arbitrary: