Exercises 3.6 Exercises
For each of the following linear Diophantine equations, either find the form of a general solution, or show there are no integer solutions.
7.
Find all possible solutions to the question in Exercise 2.5.10, now that we have Theorem 3.1.2.
8.
Confirm all details in Subsection 3.1.1, including which theorem applies and the case
9.
Check the details and complete the proof in Subsection 3.1.4.
10.
Find all simultaneous integer solutions to the following system of equations. (Hint: do what you would ordinarily do in high school algebra or linear algebra! Then finish the solution as we have done.)
11.
Compute the number of positive solutions to the linear Diophantine equation
12.
Explore the patterns in the positive integer solutions to
13.
Prove that any line
14.
Find a primitive Pythagorean triple with at least three digits for each side.
15.
Use Proposition 3.4.9 to prove that a Pythagorean triple triangle cannot have odd area.
16.
Prove that 360 cannot be the area of a primitive Pythagorean triple triangle.
17.
Find a way to prove that
18.
We already saw that if
19.
Under the same assumptions as in the previous problem, prove that exactly one of
20.
A Pythagorean triple satisfies
21.
Find a (fairly) obvious solution to the equation
22.
Show that
which we use in Proposition 3.7.2. You can try this using the set of divisors definition of gcd, or using the definition
23.
Explore Bresenham's algorithm in print or online. What is the connection to this chapter? How do non-solutions to linear Diophantine equations relate to actual solutions, in this context?
24.
Assume you have relatively prime integers
25.
Assume
26.
Cultures across Eurasia have variants of the βProblem of the Hundred Fowlβ (see among others [E.5.10, Chapter 15], [E.5.1, p. 176], and [E.5.11, Section 1.1.1.3]). This one is from Abu Kamilβ5β (about 900 AD). Can you find all solutions with positive integers? What if you generalize the prices of the birds? (Finding a general solution was attempted β unsuccessfully β by Chinese mathematicians for generations.)
Suppose ducks cost five coins each, chickens one coin each, but one coin buys twenty sparrows. If you spend one hundred coins to purchase one hundred birds, how many of each did you buy?