Section 3.5 Surprises in Integer Equations
This chapter has discussed linear and quadratic Diophantine equations. As you can see, even relatively simple questions become much harder once you have to restrict yourself to integer solutions. And doing it without any more tools becomes increasingly unwieldy. But there is one final example of a question we can at least touch on. Recall that Pythagorean triples come, at their heart, from the observation that
xxxxxxxxxx
def _(k=(-1,[-25..5])):
f(x,y)=y^2-x^3+k
p = implicit_plot(f,(x,-4,4),(y,-8,8),plot_points = 200)
lattice_pts = [[i,j] for i in [-4..4] for j in [-8..8]]
plot_lattice_pts = points(lattice_pts,rgbcolor=(0,0,0),pointsize=2)
curve_pts = [coords for coords in lattice_pts if f(coords[0],coords[1])==0]
if len(curve_pts)==0:
show(p+plot_lattice_pts, figsize = [5,5], aspect_ratio=1)
else:
plot_curve_pts = points(curve_pts, rgbcolor = (0,0,1),pointsize=20)
show(p+plot_lattice_pts+plot_curve_pts, figsize = [5,5])
if k>0:
pretty_print(html("Solutions of $x^3=y^2+%s$ in this viewing window"%(k,)))
if k<0:
pretty_print(html("Solutions of $x^3=y^2-%s$ in this viewing window"%(-k,)))
if k==0:
pretty_print(html("Solutions of $x^3=y^2$ in this viewing window"))
Historical remark 3.5.2. Bachet de Méziriac.
We will learn more about Mordell in Section 15.3. André Weil in [E.5.8] describes “Claude Gaspard Bachet, sieur de Méziriac” as a “country gentleman ... no mathematician [who somehow] developed an interest in mathematical recreations”, but who in the end provided “a reliable text of Diophantus along with a mathematically sound translation and commentary.”
Historical remark 3.5.3. Bachet equation.
We already saw that for
Example 3.5.4.
When
Question 3.5.5. Catalan's Conjecture.
Eight and nine are consecutive perfect (nontrivial) powers. Are there any others?
xxxxxxxxxx
def _(end_range=10):
pretty_print(html("Solutions through numbers and powers $%s$"%end_range))
print([(x,p,y,q) for x in range(1,end_range) for y in range(1,end_range) for p in range(2,end_range) for q in range(2,end_range) if x^p+1==y^q])
Historical remark 3.5.6. Catalan's conjecture – solved.
This was called Catalan's conjecture because, as of 2002, the fact that there are no other such powers is Mihailescu's Theorem! The history of this question goes back to the 1200s and Levi ben Gerson. This article by Ivars Peterson and [E.4.18] have nice overviews of many important pieces of its history, and Wolfram MathWorld has an accessible introduction to the mathematics.