1. Introduction
The Pythagorean theorem (after Pythagoras, around 582–481 BC) states that: If
a and
b are the lengths of the two legs of a right triangle and
c is the length of the hypotenuse (see
Figure 1), then the sum of the areas of the two squares on the legs equals the area of the square on the hypotenuse, i.e.,
For the origin of this theorem, its far reaching extensions, and applications, see Agarwal [
1]. A set of three positive integers
and
c, which satisfies Pythagorean Relation (1), is called a Pythagorean triple (or triad) and written as ordered triple
For convenience, it is always assumed that
A triangle whose sides (line segments whose lengths are denoted by integers) form a Pythagorean triple is called a Pythagorean triangle; it is clearly a right triangle. Pythagorean triangles tell us which pairs of points with whole-number coordinates on the horizontal and vertical direction are also a whole-number distance apart. Thus, there is a one-to-one correspondence between Pythagorean triangles and Pythagorean triples. Therefore, we can use Pythagorean triangle and Pythagorean triple interchangeably. A Pythagorean triangle
is said to be primitive (sometimes reduced) if
have no common divisor other than one. Thus, each primitive Pythagorean triple has a unique representation
It is obvious that every primitive Pythagorean triangle can lead to infinitely many non-primitive triangles, for, if
is a primitive Pythagorean triangle, then
is a non-primitive Pythagorean triangle, where
is an integer. Conversely, every non-primitive Pythagorean triangle gives rise to a primitive Pythagorean triangle. Therefore, it suffices to study only primitive Pythagorean triangles. In recent years, primitive Pythagorean triples have been used in cryptography as random sequences and for the generation of keys; see Kak and Prabhu [
2].
Pythagorean triples
and
first appeared in Apastamba (one of seven available Sulbasutras, first about 3200 BC, named after the sages; see by Lakshmikantham et al. [
3] and Agarwal et al. [
4]). These triples were used for the precise construction of altars. In 1943, Plimpton 322 (written between 1790 and 1750 BC, during the time of the Babylonian king Hammurabi (around 1811–1750 BC) in old Babylonian script) was classified as a “commercial account”. However, two years later, two prominent historians of mathematics Otto Neugebauer (1899–1990) and Abraham Sachs (1915–1983) made a startling discovery that the content of Plimpton 322 was a list of Pythagorean triples.
Table 1 reproduces the text in modern notation with base
There are four columns, of which the rightmost, headed by the words “its name” in the original text, merely gives the sequential number of the lines 1 to 15. The second column and third columns (counting from the right to left) are headed “solving number of the diagonal” and “solving number of the width,” respectively; that is, they give the length of the diagonal and of the short side of a rectangular, or equivalently, the length of the hypotenuse and the short leg of a right triangle. We will label these columns with letters
c and
respectively. The leftmost column is the most curious of all. Its heading again mentions the word “diagonal,” but the exact meaning of the remaining text is not entirely clear. However, when one examines its entries, an unexpected fact emerges: this column gives
that is the value of
where
is the angle opposite side of
b and csc is the cosecant function (see
Figure 1). As an example, in the third line, we read
and
and hence
giving us the triple
Unfortunately, the table contains some obvious errors. In Line 2, we have
and
, and these do not form a Pythagorean triple (the third number
b not being an integer). However, if we replace
by
we get an integer value of
which leads to the Pythagorean triple
In Line 9, we find
and
and these do not form a Pythagorean triple. However, if we replace
by
we do indeed get an integer value of
resulting in the triple
Again in Line 13, we have
and
and these do not form a Pythagorean triple; however, we may notice that 25921 is the square of 161, and the numbers 161 and 289 do form the triple
In Row 15, we find
whereas the correct entry should be twice that number, that is
, producing the triple
This, however, is not a primitive triple, since its members have the common factor of two; it can be reduced to the simple triple
Similarly, Row 11 is not a primitive triple
since its members have the common factor of
it can be reduced to
which is the smallest and best known Pythagorean triple.
Table 2 produces the text in the decimal system. In this table, we find that the values of
continuously decrease from
to
This implies that the values of
continuously decrease, and this in turn shows that
increases steadily from approximately 45
to 58
. The question that baffles the mind even today is how did the Babylonians find these particular triples, including such enormously large ones as (13500, 12709, 18541). There seems to be only the following plausible explanation: they were not only familiar with the Pythagorean theorem, but knew an algorithm to compute Pythagorean triples and had enormous computational skills; see Siu [
5].
Finding Pythagorean triples is one of the earliest problems in the theory of numbers, and certainly, Pythagorean triples are some of the oldest known solutions of the nonlinear Diophantus (about 250) Equation (
1). In Apastamba, it was recorded that the triplets:
where
m is an odd number, and:
where
m is an even number, are Pythagorean triples. The Chinese mathematician Liu Hui (around 220–280) in his commentary on the
Jiuzhang Suanshu (Nine Chapters on the Mathematical Art), which is believed to have been written around 1000 BC, included Pythagorean triples and mentioned right triangles. It is a tradition to assume that Pythagoras himself gave the following partial solution of Equation (
1),
He presumably arrived at (4) from the relation:
and then searching for those
k for which
is a perfect square, i.e.,
(since
is odd,
m must be odd). This gives:
Thus, the relation (5) can be written as:
from which it is clear that (1) is satisfied with:
Finally, in (6) letting we obtain (4). Notice that in (4), the sum of the long side and hypotenuse is which is the square of the small side. We also remark that (6) is the same as (2).
We can directly verify that (4) is a solution of (1). Indeed, we have:
Since
it follows that
b and
c are relatively prime, i.e., a positive integer that divides both of them is one, and consequently, Pythagorean triples
generated from (4) must be primitive. Some of the Pythagorean triples that can be obtained from (4) are given in the following table.
It is interesting to note that between the series of larger legs
and of hypotenuses
, there is a fascinating pattern (see Boardman [
6]):
The following table gives Pythagorean triples obtained from (4) by letting
The above table gives an obvious pattern, so that if we know one row, then we can continue this table indefinitely. From (4), it follows that there are countably infinitely many primitive Pythagorean triples.
Clearly, Pythagoras’s solution has the special feature of producing right triangles having the characteristic that the hypotenuse exceeds the larger leg by one. According to Proclus Diadochus (410–485 AD), Plato of Athens (around 427–347 BC) gave a method for finding Pythagorean triples that combined algebra and geometry. His solution of Equation (
1) is:
For this, it suffices to note that:
It is interesting to note that for
(3) is the same as (7). Some of the Pythagorean triples that can be obtained from (7) are given in the following table.
(For
, the Pythagorean triple is written as
) From (7) it follows that the hypotenuse exceeds one of the legs by two. Further, for
, we have the Pythagorean triple
which cannot be obtained from Pythagoras’s formula (4). Moreover, for
(7) becomes:
i.e., for odd
(7) does not give primitive triples, and upon dividing (8) by two, we find:
However, this is the same as (4). Thus, in conclusion, the primitive triples obtained from (7) include those given by (4).
The following interesting table gives Pythagorean triples obtained from (7) by letting
,
,
,
.
We note that (7) for
becomes
Thus, if
where
a and
b are reduced, will yield a primitive Pythagorean triple with
As an example, for
we have
Thus,
and
2. Characterization
Unfortunately, even (7) does not provide all Pythagorean triples, and it was not until Euclid of Alexandria (around 325–265 BC) in his Elements (Book X, Lemma I; also see Lemma II after Proposition 28) formalized the following statement (fabricated in geometric language): Let
u and
v be any two positive integers, with
then the three numbers:
form a Pythagorean triple. This seems to be the first regressively proven complete integer solution of in indeterminate equation. If in (9),
, we interchange
a and
b (if in addition,
u and
v are of opposite parity—one even and the other odd—and they are coprime, i.e., they do not have any common factor other than one, then
is a primitive Pythagorean triple).
It is easy to verify that the numbers
and
c as given by Equation (
9) satisfy the equation
:
The integers u and or simply in the formula (9), are called the generating numbers or generators of the triple Neugebauer claims that this sufficiency part was known to the Babylonians.
From (9), the following relations are immediate:
Diophantus in his
Arithmetica (Claude Gaspard Bachet de Méziriac (1581–1638) made it fully available in Greek and Latin in 1621) also arrived at the solution (9) of (1) by using the following reasoning. In (1), let
where
k is any rational number. Then, it follows that:
which leads to:
or
Thus, we have:
which gives:
Let
with
u and
v integers (we can assume that
), so that:
Now, we set to obtain
Bhaskara II or Bhaskaracharya (working 486) also gave a tentative partial solution of (1), which in number theory is considered an exciting result.
The converse, i.e., showing that any Pythagorean triple is necessarily of the form (9), is more difficult. The earliest record for some special cases of the proof of the converse can be found in the solutions of Problems 8 and 9 of Book II of the Arithmetica of Diophantus. Next, the converse was discussed in the works of Arab mathematicians around the Tenth Century. The details of the Arab’s work was available to the well-traveled Fibonacci (Leonardo of Pisa, around 1170–1250). It seems the first explicit, rigorous proof of the converse was given in 1738, by C.A.Koerbero (Dickson [
7], Vol. 2). In 1901, Leopold Kronecker (1823–1891) gave the first proof that all positive integer solutions of
are given without duplication by
where
, and
k are positive integers such that
and
v are not both odd, and
u and
v are relatively prime. In what follows, we shall discuss a simplified and extended version of a known proof (see, e.g., Burton [
8]) of Euclid’s Proposition and its converse.
- Step 1.
If is a primitive Pythagorean triple, then Here, denotes the greatest common divisor of a and For, if , then (d divides c), so that d is a common divisor of and and consequently, is not a primitive Pythagorean triple.
- Step 2.
If is a Pythagorean triple, then implies and For, if b and c have a common divisor, say then d is also a divisor of a, and consequently, d is a common divisor of a and which is not possible. Hence, The proof for is similar.
- Step 3.
If is a primitive solution of (1), then exactly one of a and b must be even, and c must be odd. For, if a and b are both even, then c must also be even; and consequently, will have a common divisor other than one. If a and b are both odd, say, then , which is impossible since no perfect square can be of the form Thus, exactly one of a and b must be odd, and the other must be even. Furthermore, then, must be odd, and so, c must be odd (By virtue of this step, there exists no primitive Pythagorean triple all of whose numbers are prime. There are primitive Pythagorean triples in which c and one of a or b is prime, for example, It is not known if there exist infinitely many such triples.).
- Step 4.
If
are integers such that
and
then
q and
r must be perfect squares. In fact, writing out the prime factorizations of
q and
we have:
Since
therefore no prime can occur in either decomposition. Since
and since prime factorization is unique, therefore,
where
are distinct primes. Since
is a perfect square, it is necessary that
must be all even, and consequently,
q and
r must be perfect squares. Similarly, it follows that if
and
then
q and
r must be of the
power. We note that Step 4 can also be proven by induction on
For
and
, it is trivially true (Professor Cuthbert Calculus (French: Professeur Tryphon Tournesol) meaning “Professor Tryphon Sunflower”, is a fictional character in The Adventures of Tintin. He discovered an amusing proof of Step 4 while he was in jail for having failed the president’s son. The prisoners were put in a long row of cells. At first, all the doors were unlocked, but then, the jailor walked by and locked every second door. He walked again and stopped at every third door, locking it if it was unlocked, but unlocking if it was locked. On the next round, he stopped at every fourth door, locking it if it was unlocked, unlocking if it was locked, and so on. Professor Tournesol soon realized that the
cell would be unlocked in the end just in case
q had an odd number of divisors. Now, if
d divides
q, then so does
, and it would seem that the divisors of
q come in pairs. Unless …“what if
” thought the professor, “then the divisor
d does not pair off with another, and
just in case
q is a square.”).
- Step 5.
If
is a primitive solution of (1) and
a is odd (similar arguments hold if
a is even), then there must exist positive integers
u and
v such that
with
and exactly one of
u and
v being odd, such that
Since
a is odd, by Step 3,
b must be even. Let
for some
From
we have:
Now, and are both even (for by Step 3, a and c are both odd). Let us put i.e., Then, from (10), we have Next, we shall show that q and r are relatively prime. For, if d is a common divisor of q and then d must also be a common divisor of c and and therefore also a divisor of Thus, will have a common divisor Since the solution is a primitive solution, we must have i.e., q and r must be relatively prime. Thus, by Step 4 (from Professor Tournesol’s discovery), q and r must be perfect squares. Let for some integers u and v, which are taken to be positive. Then, so that It is clear that for if then d will be a divisor of , and Furthermore, u and v cannot be both odd or both even, for in either case, c will be even, and this will contradict the result in Step 3.
- Step 6.
If
where
u and
v are positive integers such that
and exactly one of
u and
v is odd, then
is a primitive solution of (1). By actual substitution, we find that:
so that
is a solution. To show that
is a primitive solution, assume to the contrary that
p is an odd prime that divides both
a and
This implies
and
i.e.,
p divides both
and
Since
p is odd, it follows that
p divides both
and
Since
p is a prime, it must divide both
u and
However,
implies that this is impossible. Thus, the only possible common divisor that
a and
c may have must be a power of two. However, this is also not possible because
a must be odd. Thus,
, and
is a primitive solution.
Summing the above steps, we find that (9) generates all primitive Pythagorean triples.
The following proof (see Beauregard and Suryanarayan [
9] and Joyce [
10]) of the converse of Euclid’s statement is short and elementary.
If
is a primitive Pythagorean triple, then by Step 1,
so we can always choose
a to be odd. Now, from (1), it follows that:
Thus, the two terms on the right are rational and reciprocals of each other. Let the first one be
in lowest terms, then the second is
i.e.,
Solving these equations, we get:
Since both u and v cannot be even. If they both are odd, then will have four as the minimum possible factor, whereas will have two as the maximum possible factor, and this will imply that a is even, which contradicts our assumption that a is odd. Thus, one of u and v must be odd, and the other should be even. Hence, both must be odd, and obviously, In conclusion, both fractions in (11) are fully reduced and hence lead to Euclid’s formula
The Pythagorean triple
in Row 4,
Table 2, can be obtained by letting
in (9). It is interesting to note that the corresponding
u and
v for each row in
Table 2 have no prime factors other than
, and 5 (the prime divisors of the Babylonian scale 60), and
For
, Formula (9) reduces to (4). Indeed, then we have
For
, Formula (9) reduces to (7). Indeed, then we have
In general, (9) gives infinitely many primitive Pythagorean triples in which the hypotenuse exceeds one of the legs by
Table 3 gives primitive Pythagorean triples with
sorted by increasing
3. Properties, Patterns, Extensions, and Problems
After the publication of Euclid’s Elements (Book X, Proposition 29), hundreds of professional, as well as non-professional mathematicians have tried to find the properties/patterns of Pythagorean triples, alternatives to Euclid’s formula (9), different forms of the generators
and Pythagorean triples with specified properties. This has led to many interesting number-theoretical results, as well as several innocent looking problems, which are still waiting for their solutions. Dickson [
7], in his three-volume history of number theory, gave a twenty-five-page account of what was achieved in the field of Pythagorean triangles during more than two millennia and up to Leonhard Euler (1707–1783) and modern times. The inspiration of this modern development was provided by the father of modern number theory Pierre de Fermat (1601–1665), who in his marginal notes stated without proof many theorems involving these integers. Later, these theorems were proven and intensified by great mathematicians such as Euler, Joseph Louis Lagrange (1736–1813), Karl Friedrich Gauss (1777–1855), and Joseph Liouville (1809–1882). In the following, we present some elementary results to this introductory branch of number theory.
P1. From (9), it follows that in a Pythagorean triangle (see
Figure 1):
Further, from the half-angle formula
we have
We also note that
Thus, if we draw a unit circle in the
-plane with the origin at
and a straight line from the point
with slop
then
is the other point of intersection of the line and the circle; see
Figure 2.
P2. From (9) it follows that
i.e.,
is always a perfect square. This is only a necessary condition, but not a sufficient one (see Posamentier [
11], p. 156). For example, consider the triple
for which
but it is not a Pythagorean triple. We also note from this simple observation that
cannot be a Pythagorean triple.
P3. If
P is the perimeter of a primitive Pythagorean triangle
then
P is even and
Indeed, we have
and
Thus, in particular, the perimeter
P divides
where
is the area of the triangle. Fermat proved that
A can never be a square number (see P37); later, it was shown that it cannot be twice the square number (see Carmichael [
12,
13]).
P4. In a primitive Pythagorean triple
either
a or
b is divisible by three. For this, first we note that any number
m can be written either as
or
However, since
is of the form
no integer
can be written in the form
hence, all integers squared are of the form
or
Thus, if in (9) either
or
happens to be of the form
(that is to say, if either
or
), then
or
in which case
Now, assume that both
and
take the form
to be specific, let
and
Then, we have
Hence,
In conclusion, in a primitive Pythagorean triple
, exactly one of the integers is divisible by three. As an example, see any triple in
Table 3.
P5. In a primitive Pythagorean triple
either
a or
b is divisible by four. In (9),
u and
v are of opposite parity-one even and the other odd, and hence
In conclusion, in a primitive Pythagorean triple
exactly one of the integers is divisible by four. As an example, see any triple in
Table 3.
P6. In a primitive Pythagorean triple
one side is divisible by five. For this, first we note that any number
m can be written either as
or
However,
can be written only as
or
Thus, if in (9), either
or
happens to be of the form
(that is to say, if either
or
), then
or
in which case
Now, assume that both
and
take the form
to be specific, let
and
Then, we have
Hence,
Similarly, if
and
then
Finally, if
and
then
and this implies that
In conclusion, in a primitive Pythagorean triple
exactly one of the integers is divisible by five. As an example, see any triple in
Table 3.
From P4–P6, it follows that in every primitive Pythagorean triple
the product
is divisible by
and the product
is divisible by
The smallest and best known Pythagorean triple
shows that this observation is the best possible; see MacHale and van den Bosch [
14]. Further, out of three divisors
, one of the numbers
may have any two of these divisors, e.g.,
or even all three as in
It is not known if there are two distinct Pythagorean triples having the same product. The existence of two such triples corresponds to a nonzero solution of a Diophantine equation.
P7. In a primitive Pythagorean triple , none of the sides can be of the form Since u and v are of different parity, is of the form is of the form and is of the form
P8. From P3, it follows that i.e., the perimeter of a Pythagorean triangle and its area are the same if and only if which is the same as Thus, either (i) or (ii) The case (i) gives and leads to the Pythagorean triple whereas the case (ii) implies and gives the Pythagorean triple Thus, there is only one primitive Pythagorean triangle for which
P9. There exist primitive Pythagorean triangles having the same perimeter The first two primitive Pythagorean triangles with the same perimeter 1716 are and Next, two primitive Pythagorean triangles and correspond to the same perimeter Other parameters that have more than one primitive Pythagorean triangle are 12920, 19092,19320, The first three primitive Pythagorean triangles with the same perimeter 14280 are , and The next perimeter is 72930 with three primitive Pythagorean triangles and Four primitive Pythagorean triangles having a common perimeter also exist. For a perimeter less than there exist only seven quads. The smallest value of the perimeter, for which a quad is possible, is
P10. Fermat gave a simple method to find pairs of Pythagorean triangles with equal areas. If is a primitive Pythagorean triple, then the legs of the Pythagorean triangle having as generators will be and hypotenuse The area of this triangle is Furthermore, the area of the Pythagorean triangle having legs and hypotenuse i.e., where is Taking , we find that the Pythagorean triangles and have the same area, namely Notice that the triple is not primitive. The smallest two primitive Pythagorean triples having the same common area 210 are and Some other primitive Pythagorean triples having the same area are with common area with common area and with common area
Three Pythagorean triangles having the same area can also be found. It is easy to see that if are four numbers in arithmetic progression, then the Pythagorean triangles corresponding to generators (i) (ii) (iii) will all have the same area For example, let us take Then, respectively, we have:
- (A)
- (B)
- (C)
Three Pythagorean triangles obtained from (A), (B), (C) are
They all have a common area
Notice that none of these triples is primitive. Another construction for three Pythagorean triangles having the same area was suggested by Beiler [
15]: Take three sets of generators as
and
Then, the right triangle generated by each triple
has common area
In particular, for
, the three Pythagorean triangles are
and
, and the common area is
Three primitive Pythagorean triples that have the same area are
with the area
This was discovered by Shedd [
16] in 1945. Sets of four Pythagorean triangles with equal area are also known; the one having the smallest area is
,
with area 341880 (see Beiler [
15], p. 127, and Guy [
17], pp. 188–190). In general, Fermat proved that for each natural number
there exist
n Pythagorean triangles with different hypotenuses and the same area.
P11. Pythagorean triangles whose areas consists of a single digit include
(area of six) and
(area of
(see Wells [
18], p. 89).
P12. For , we get a Pythagorean triple the area of the triangle corresponding to which is a number using all nine digits Many such triples are known. Another such triple is obtained by letting and the corresponding area being
P13. There are Pythagorean triples for which the area of the corresponding triangle is represented by a number using all ten digits. One such triple is obtained by letting and The corresponding area is Another such triple is obtained by putting and the corresponding area being
P14. In 1643, Fermat wrote a letter to Pére Marin Mersenne (1588–1648) in which he posed the problem of finding a Pythagorean triangle
whose hypotenuse and sum of the legs were squares of integers, i.e., find integers
p and
q such that
and
By using Fermat’s method of infinite descent (The earliest uses of the method of infinite descent appear in Euclid’s Elements, Book VII, Proposition 31. In this method, one assumes the existence of a solution, which is related to one or more integers, and shows the existence of another solution, which is related to smaller one or more integers, and this process infinitely continues. This leads to a contradiction.), it is found that the values
give a desired solution. In fact, we find:
and
There exist infinitely many such Pythagorean triples, but the above values are the smallest possible.
P15. Two triples are called siblings if they have a common hypotenuse, e.g., (16, 63, 65), (33, 56, 65) and (13, 84, 85), (36, 77, 85) in
Table 3. If we search among larger hypotenuses, we may find larger sets of siblings, e.g., there are four primitive triples with hypotenuses 1105: (47, 1104, 1105), (264, 1073, 1105), (576, 943, 1105), (744, 817, 1105). The hypotenuse 32045 has eight primitive triples: (716, 32037, 32045), (2277, 31964, 32045), (6764, 31323, 32045), (8283, 30956, 32045), (15916, 27813, 32045), (17253, 27004, 32045), (21093, 24124, 32045), (22244, 23067, 32045). A twin Pythagorean triple is a Pythagorean triple
for which two values are consecutive integers. In the following table (see
http://oeis.org/A101903), we present the number of twin Pythagorean triples, denoted as
with hypotenuse less than
P16. Let
and
denote the number of primitive Pythagorean triangles whose hypotenuses and perimeters do not exceed
respectively. In 1900, Derrick Norman Lehmer (1867–1938) proved that:
From (9), hypotenuse
implies that
u and
v must lie in the positive quarter of the circle with radius
Further, since
must lie below the line
see
Figure 2. The area of this segment is
Ernesto Cesaro (1859–1906) in 1880 showed that the probability of
is equal to
Further, the probability of both
u and
v not being odd conditioned to the coprime is
Thus, we have:
Similarly, we can show that
From these approximations, it follows that
and
From
Table 3, actual computation gives
and
In 2002, Benito and Varona [
19] proved that the number
of primitive Pythagorean triangles
such that both the legs
a and
b do not exceed
n is:
On counting, we find that the exact value of whereas the above formula gives
P17. Since it follows from (9) that the square of any complex number (where are coprime positive integers with ) yields the legs of a primitive Pythagorean triangle. Thus, for example, gives and and from (1), we have i.e., is a Pythagorean triple.
P18. There are Pythagorean triples (not necessarily primitive) each side of which is a Pythagorean triangular number for example It is not known whether infinitely many such triples exist.
P19. Consider any two integers
u and
v such that
Then, from the four integers
known as the Pythagorean triangle generator, we can always calculate a Pythagorean triangle. For this, we take the product of the outer two integers, i.e.,
which gives one leg, then we take twice the product of the middle two integers, i.e.,
, which gives the another leg, and then take the the sum of squares of the inner two integers, i.e.,
which gives the hypotenuse of the triangle. For example, for
we have
, and from this, we can easily calculate the primitive Pythagorean triple
If we take
then we have
, and we get the triple
, which is not primitive. Now, recall that Fibonacci numbers (first introduced by Pingala around 500 BC) are generated from the recurrence relation (due to Albert Girard 1595–1632)
The first few Fibonacci numbers are
Now, we choose two consecutive Fibonacci numbers
and
and, from the recurrence relation, note that
and
and hence,
forms a Pythagorean triangle generator. This leads to the relation (see Dujella, [
20]):
Now, from a well known identity
(see Burton [
8]), (12) can be better written as:
As an illustration, for
, Relation (12) gives:
which is the same as:
It does not give a primitive Pythagorean triple
However, for
, Relation (12) leads to:
which gives a primitive Pythagorean triple
In conclusion, (12), or equivalently (13), furnishes primitive, as well as non-primitive Pythagorean triples. Further, it does not provide all primitive Pythagorean triples.
P20. To find Pythagorean triangles with all three sides’ consecutive integers, let p be a positive integer. From (9), we have either (i) or (ii) Clearly, (i) implies that which is impossible. Next, (ii) implies that i.e., Furthermore, we have and hence, i.e., Now, since u and v are relatively prime, we must have and hence, In conclusion, is the only primitive Pythagorean triple with the three sides’ consecutive integers. This fact can also be seen as follows: If is a Pythagorean triple, then which is the same as and hence, Similarly, it follows that the only Pythagorean triangles with sides in arithmetic progression are those with sides
P21. To find Pythagorean triangles in which the hypotenuse exceeds the larger leg by one, we shall show that Formula (4) generates all such Pythagorean triangles. Since (9) generates all primitive Pythagorean triangles, either (i) or (ii) However, (i) leads to which is impossible. Now, (ii) is the same as which implies that Letting then Putting this u and v in (9), we obtain (4). Thus, there are infinite such Pythagorean triangles.
In Dudley’s book [
21], page 127, the following problem was given: Prove that if the sum of two consecutive integers is a square, then the smaller is the leg and the larger the hypotenuse of a Pythagorean triangle. His obvious solution was
implying that
However, the question is for what integers
k and
From P21, we notice that the only choice is
and
P22. To find Pythagorean triangles with consecutive legs, from (9), it is necessary that either (i)
or (ii)
In Case (i), it follows that
which is the same as
Similarly, Case (ii) leads to the equation
Thus, in Case (i), we need to find integer solutions of the equation
whereas in Case (ii) of the equation,
In the literature, these equations are mistakenly known as Pell’s equation. In fact, the English mathematician John Pell (1611–1685) has nothing to do with these equations. Euler mistakenly attributed to Pell a solution method that had in fact been found by another English mathematician, William Brouncker (1620–1684), in response to a challenge by Fermat. In reality, second order indeterminate equations, of the form
where
N is an integer, were first discussed by Brahmagupta (born 30 BC). For their solution, he employed his “Bhavana” method and showed that they have infinitely many solutions. Unfortunately, it has been recorded that Fermat was the first to assert that it has infinitely many solutions. His celebrated work
Brhmasphutasiddhnta was translated into English by Henry Thomas Colebrooke (1765–1837). We shall use the inductive method to show that all solutions of these equations can be generated by the recurrence equations:
For this, we assume the existence of the minimal solution (known as the fundamental solution)
of the concerned equation and assume that
is also a solution, then it follows that:
and this shows that
is also a solution of the equation. For the equation
, the minimal solution (by inspection) is (3,2), and the next three solutions obtained from (14) are (17,12), (99,70), and (577,408). Similarly, for the equation
, the minimal solution of (1,1) and the next three solutions generated from (14) are (7,5), (41,29), and (239,169). In the following table, we use these eight values to record
and the corresponding Pythagorean triples. From the table, it is clear that the numbers are increasing very rapidly, but still, such triples are infinite.
Upon scanning the data in
Table 3, we notice that triples satisfying
are more dense than those satisfying
The fact that there are infinitely many Pythagorean triples of this type can also be shown rather easily: If
happens to be a Pythagorean triple, so is
Indeed, we have:
Diophantus set the problem of finding a number p such that both and are squares. Letting and we get the same equation for which the minimal solution (which gives the nonzero solution) is Solving the equations and we find
P23. Diophantus as a problem asked to find a Pythagorean triangle in which the hypotenuse minus each of the legs is a cube. His answer was which leads to the required primitive Pythagorean triple From (9), we note that we need to find the solutions of the equations where p and q are some positive integers. However, since and from the equation , we must have and now from the equation it follows that or where k is any positive integer. Thus, the required members of all Pythagorean triples are with and For , we get the triples and i.e., we get primitive, as well as non-primitive Pythagorean triples.
P24. To find primitive Pythagorean triangles, one of whose legs is a perfect square, we need to solve the equation
which is the same as
We recall that
and
c is always odd, so there are two possible cases to consider: (i)
b is even; and (ii)
b is odd. In Case (i), equation
holds provided there exist odd integers
p and
q such that
and
(see Step 4 above), and hence:
We present some desired triples in the following table.
Clearly, there exist infinitely many Pythagorean triples whose odd member is a perfect square.
In Case (ii), we can choose
where
t is odd. These relations give:
Using these relations, we compute some Pythagorean triples in the following table.
Clearly, there exist infinitely many Pythagorean triples whose even member is a perfect square.
P25. To find primitive Pythagorean triangles whose hypotenuse is a perfect square, we need to deal with the equation
which is the same as
Now, since
there exist integers
p and
q such that
and
also
Next, comparing the real and imaginary parts, we find:
here, the modulus sign is taken without loss of generality (we need
and
). Then, we also have:
We present some required triples in the following table.
Note that in the above table, and give the same primitive Pythagorean triple. The same holds for and
P26. To find primitive Pythagorean triangles
whose one leg
is given, there are two cases to consider: (i)
n is odd, then
or (ii)
n is even, then
The number of integer solutions of these equations depends on the prime factorization of
Let
where
are distinct primes. If
is odd and
then
n can be factored as a product of two relatively prime factors in
ways. Corresponding to each such way,
has exactly one solution in positive integers, and hence, there will be
solutions. If
then
n is an odd multiple of two, and the equation
does not have any solution in integers because
is a multiple of four. If
and
, then the number of ways in which
n can be factored into a pair of relatively prime factors is
i.e.,
and therefore, there are
solutions of
with
Summarizing these arguments, we have the following result: If
n is of the form
then
(see P7). If
n is not of this form, then
where
q is the number of distinct primes occurring in the prime factorization of
As examples, consider the cases
Since
the number of primes occurring in the factorization is
, and so, there are
i.e., four primitive Pythagorean triangles having 60 as a leg. From
Table 3, these triples are
and
Since
, and so, there are
primitive triangles having 65 as a leg. These triples are
and
Since
, and so, there are
primitive Pythagorean triangles having 75 as a leg. These triples are
and
Since
, there are no primitive Pythagorean triangles having 86 as a leg.
In a similar way (see Beiler [
15]), we can find the number of primitive Pythagorean triangles
having
n as a hypotenuse. We factorize
n as:
where
are of the form
and
are of the form
Then,
As an example, we consider
and
Since
, and
, so
From
Table 3, these triples are
and
Since
,
, so
Since
and
, so
From
Table 3, these triples are
and
Since
and
, so
From
Table 3, this triple is
Combining the above results, we can find the total number of ways in which a given n may be either a leg or hypotenuse of a primitive Pythagorean triangle as As an example, we consider Since , it follows that and and hence, Indeed, the triples are and
If
, then
and
To find the unique primitive Pythagorean triangle whose one leg is
from (9), it follows that
or
Thus, from Step 4 and the fact that
we have
and
Hence, the members of the required triple are
which for
and
respectively, give the primitive Pythagorean triples as
and
Now, we shall show that there are exactly
non-primitive triangles whose one leg is
Clearly, for a non-primitive triple, the members are:
If
then from the fact that
and
u and
v are of different parity
and odd. Thus, it is necessary that
However, then
which means
However, this is impossible. Similarly, we can show that
Thus, the only possibility left is
or
which implies that there exists some
However, the cases
and
can be ruled out. Indeed, for
it gives
but we have
and the fact that
is even assures that
k cannot be
In conclusion, we have
which implies that
This leads to the following members of the non-primitive triples:
For
, two non-primitive triples are
, and for
, three non-primitive triples are
This corrects a minor error in the work of Zelator [
22] (also see [
23]) and supplements the conclusion of Problem 5 on page 240 in the book of Burton [
8].
P27. In a triangle, we can draw a circle touching all three sides, and this circle is called in-circle with the radius as in-radius denoted as
r and the center as the in-center. The in-radius of a Pythagorean triangle
satisfies (see Burton [
8], page 239) the relation
(two formulae for
r in terms of the sides
were known to Liu Hui; see Nine Chapters on the Mathematical Arts). In this relation, substituting
(here,
is an integer), we get
which shows that the in-radius of a Pythagorean triangle is an integer. The number of distinct primitive Pythagorean triangles having a common in-radius
r depends on the number of distinct prime divisors of
If the prime factorization of
r contains
n distinct odd primes, then there exist
distinct primitive Pythagorean triangles having a common in-radius
r (see Robbins [
24] and Omland [
25]). For example, we consider
, so that
, whose prime factors are
and hence, there exist exactly
distinct primitive Pythagorean triangles having in-radius
One of such triples is
In addition, the total number
of distinct Pythagorean triangles (not necessarily primitive) having a given in-radius
r can be determined by writing down the prime factorization of
It is also known that if
where
are distinct odd primes, then:
For
P28. It is possible to construct Pythagorean triples (not necessarily primitive) by factoring
c into smaller factors, each of which is itself a sum of two squares. For this, we need the following well known result from elementary number theory (see Burton [
8] and Grosswald [
26]): A positive integer
c is representable as the sum of two squares if and only if each of its prime factors of the form
occurs to an even power (this theorem supplements Fermat’s theorem: an odd prime
p is uniquely expressible as a sum of two squares if and only if
p is of the form
). For example,
,
; however, the numbers
cannot be written as the sum of two squares. We further note that 50 is the smallest number that can be written as a sum of two squares in two ways, namely
the next such integer is
For the given
and
d real numbers, we shall also need the following Diophantus identities (these identities are also known in the literature as Brahmagupta–Fibonacci identities):
These equalities can be proven directly by squaring the right sides or using the fact:
Now, we consider the number:
for which Equalities (15) and (16) give:
and:
Equalities (18) and (19), in view of (15) and (16), respectively, give:
and:
This gives the Pythagorean triples and which are not primitive. In fact, dividing these triples, respectively, by 29 and we get the primitive Pythagorean triples and
Notice that we also have:
and:
This gives the primitive Pythagorean triples
and
(see
Table 3).
P29. In 1934, Berggren [
27] introduced three matrices with the same values in each position, but differing in sign
where:
and showed that from a given primitive Pythagorean triple
, three new primitive Pythagorean triples
can be generated by:
He also showed that by using these three matrices, all primitive Pythagorean triples can be generated from the triple
A simple calculation shows that with this triple
(20) gives
, which we have agreed to write as
and
, which we have agreed to write as
Now, if we take
then (20) generates
Thus,
In fact, Hall [
28] and Roberts [
29] proved that
is a primitive Pythagorean triple if and only if
where
U is a finite product of the matrices
In other words, the triple
is the parent of all primitive Pythagorean triples.
P30. In 2008, Price [
30] found three new matrices:
and showed that like (20):
also produce all primitive Pythagorean triples. However, the three new triples obtained from
may not be the same as calculated from (20). As an example, we find that from
produces the new triples
and
Further, with
gives
and
P31. In 1994, Saunders and Randall [
31] established the following three new matrices:
and showed that from a given generator
of the Pythagorean triple, three new generators that preserve coprimeness and opposite parity can be obtained by:
For this, it suffices to show that each generates the Pythagorean triple, i.e., are Pythagorean triples. In particular, for , we have , and these respectively generate Pythagorean triples
P32. Consider the famous tournament problem, which was posed to Fibonacci by Master John of Palermo, a member of the entourage of the Holy Roman Emperor Frederick II: Find a number
x such that both
and
are squares of rational numbers, i.e.,
We will see that the solution requires Pythagorean triples. We express
and
b as fractions with a common denominator:
Substituting these values in Equation (
22) and multiplying throughout by
we get the equations:
Subtracting the second equation from the first, we obtain:
Since the left-hand side is even, both
and
must be even or odd. In either case,
is an even integer, say
from this, it follows that
Now, solving the last two equations, we find:
Substituting these expressions in (23), we get:
which on addition yields the single condition:
Thus, the three numbers
, and
form a primitive Pythagorean triple and hence can be written as:
where the positive integers
u and
v are such that
and
v are of opposite parity, and they are coprime. Now, to eliminate
we take the product of the first two of these equations, to obtain:
Clearly, we need integers
u and
v, which will make the right-hand side of this equation five times a perfect square. For this, we set
so that the condition reduces to:
Evidently, the right-hand side becomes a square when
These values for
u and
v lead to:
Putting these pieces together, we get:
as a solution to Fibonacci’s tournament problem.
P33. For the construction of right-angled triangles whose sides are rational numbers or rational cyclic quadrilaterals (all vertices lie on a single circle), Brahmagupta gave the solution (9), where
u and
v are unequal rational numbers. In particular, for a given rational side
Brahmagupta’s solution is:
where
n is a rational number different from zero. Bh
skaraand Mah
v
ra (817–875) gave the solution:
where
m is any rational number other than
The eighth problem in the second book of the
Arithmetica of Diophantus is to express 16 as a sum of two rational squares. For this, in the identity:
which follows from (25), he used
and
and obtained
According to Bibhtibhushan Datta (1888–1958) (see [
32]) and Puttaswamy [
33], Karavindaswami’s (nothing seems to be known about him except a summary of his mathematical work) solution is:
where
m is any rational number other than
It is interesting to note that these solutions can easily be deduced from (24). Indeed, for
(24) becomes (25), whereas for
, it reduces to (26).
For the given rational hypotenuse
Mah
v
ra constructed a rational right-angled triangle. His solution is:
whereas Bh
skara gives the solution as:
which readily follows from Mah
v
ra’s solution by putting
These solutions were later attributed to Fibonacci and Francois Viéte (1540–1603), respectively.
P34. For each
, equation
has an infinite number of solutions. Case
has been discussed in P28, whereas for
, it is Pythagorean Relation (1). For
we begin with an arbitrary
c, which can be written as the sum of two squares, i.e.,
and note that:
In particular, we have:
and:
For the above relations, respectively, give and
Now, we shall show that for each , equation has an infinite number of solutions. We assume that c and b are relatively prime and rewrite the equation as Then, there exist integers u and v such that and Hence, and In particular, if a is odd, we can choose and As a simple example, we consider Pythagorean consecutive triangular numbers Since the equation has an infinite number of solutions. Similarly, we can show that for each , equation has an infinite number of solutions.
P35. In the literature, Fermat’s claim (intellectual curiosity) of 1637, found by his son Samuel, that the equation:
has no positive integer solutions for
and
c if
is known as Fermat’s last theorem (“last” because it took longer than any other conjecture by Fermat to be proven, finally by Andrew Wiles (born 1953) in 1994). Thus, a cube cannot be written as the sum of two smaller cubes; a fourth power cannot be written as the sum of two fourth powers, and so on. In his personal copy of Diophantus’s Arithmetica (translated by Claude Bachet, 1581–1638), Fermat just commented that he had discovered a “truly marvelous” proof of this fact, but the margin of the book was too narrow for him to jot it down! It is believed that Fermat himself had a proof for
and Euler in 1753 (published in 1770) succeeded in the more difficult case of
(this case can also be settled by using the method of infinite descent, e.g., see Carmichael [
12,
13]). In the 1820s, Marie-Sophie Germain (1776–1831) showed that (27) has no solution when
is not divisible by
n for
n any odd prime less than
however, her method did not help to prove the theorem in the case when one of
is divisible by
In 1825, Legendre and Peter Gustav Lejeune Dirichlet (1805–1859) independently succeeded in proving the theorem for
In 1832, Dirichlet settled the theorem for
and in 1839, Gabriel Lamé (1795–1870) resolved the problem for
For each of these cases, several alternative proofs were developed later by many prominent mathematicians including Gauss for
but none of these proofs worked for the general case. A significant contribution toward a proof of Fermat’s last theorem was made during 1850–1861 by the German mathematician Ernst Eduard Kummer (1810–1893). Inspired by Gauss’s proof for the case
using algebraic integers, Kummer invented the concept of ideal numbers (different from the ideal number 5040 due to Plato), which is destined to play a key role in the development of modern algebra and number theory. Using this, Kummer proved that Fermat’s last theorem holds when
n is a prime number of a certain type, known as regular primes. The power of Kummer’s result is indicated by the fact that the smallest prime that is not regular is
Thus, the cases
and 31 (and many others) are disposed of all at once. In fact, the only primes less than 100 that are not regular are
and
Unfortunately, there are still infinitely many primes that are not regular. In 1908, a sensational announcement was made that a prize of 100,000 marks would be awarded for the complete solution of Fermat’s problem. The funds for this prize, which was the largest ever offered in mathematics, were bequeathed by a German mathematician Paul Friedrich Wolfskehl (1856–1906) to the “Konigliche Gesellschaft der Wissenschaften in Göttingen” for this purpose. This announcement drew so much attention that during a brief span of three years (1908–1911), over a thousand papers containing supposed solutions reached the Committee. Unfortunately, all were wrong. Since then, the number of papers submitted for this prize became so large that they would fill a library. The Committee then very wisely included as one of the conditions that the article be printed, otherwise the number would have been still larger. In 1983, Gerd Faltings (born 1954) proved a very decisive result: for
, Equation (
27) can have at most a finite number of integer solutions. In 1988, the world thought that the Japanese mathematician Yoichi Miyaoka (born 1949), working at the Max Plank Institute in Bonn, Germany, might have discovered the proof of the theorem. However, his announcement turned out to be premature, as a few weeks later, holes were found in his argument that could not be repaired. Episodes like this had indeed occurred many times in the three-and-a-half century history of this famous problem. It is said that the famous number theorist Edmund Georg Hermann Landau (1877–1938) had printed post cards that read, “Dear Sir/Madam: Your attempted proof of Fermat’s Theorem has been received and is herewith returned. The mistake is on page —–, line —–.” Landau would give them to his students to fill in the missing numbers. From 1977 to 1992, with the help of computers, Fermat’s last theorem was verified up to
A momentous occasion occurred on 23 June 1993, when Andrew Wiles, a Cambridge trained mathematician working at Princeton University, announced the proof of the theorem. In developing his solution scheme, Andrew Wiles employed theories from many branches of mathematics: crystalline cohomology, Galois representation, L-functions, modular forms, deformation theory, Gorenstein rings, etc., and relied on research findings from colleagues in France, Germany, Italy, Japan, Australia, Columbia, Brazil, Russia, the United States, etc. However, soon after Wiles’s Cambridge announcement, gaps in his 200-page-long proof surfaced. Fortunately, this time, with the help from his colleagues, most notably his ex-student Richard Taylor (born 1962), Wiles finally filled these gaps after another year hard work. In 1994, Fermat’s last theorem was finally resolved. In 1997, Andrew Wiles was awarded the long time unclaimed award whose worth then was $40,000. However, now the world awaits a simpler proof. Fermat’s last theorem may not seem to be a deeply earth-shattering result. Its importance lies in the fact that it has captured the imagination of some of the most brilliant minds over 350 years, and their attempts at solving this conundrum, no matter how incomplete or futile, have led to the development of some of the most important branches of modern mathematics. It is to be noted that Brahmagupta and Bhaskara II had addressed themselves to some of Fermat’s problems long before they were thought of in the west and had solved them thoroughly. They have not held a proper place in mathematical history, nor received credit for their problems and methods of solution. Andre Weil (1906–1998) wrote in 1984, “What would have been Fermat’s astonishment, if some missionary, just back from India, had told him that his problem had been successfully tackled by native mathematicians almost six centuries earlier”.
Proving Fermat’s last theorem for a given exponent also settles it for any multiple of For example, knowing that is impossible in positive integers also covers the case since if we had then would satisfy the first equation. Similarly, if we had then will lead to the first equation. Thus, to prove Fermat’s last theorem in general, it suffices to prove that (27) has no positive integer solutions for and for any value of n that is an odd prime. The case is the only one for which a short proof is known. For this, first we shall use Fermat’s method of infinite descent to show that there are no positive integers and c such that To obtain a contradiction, suppose there are such integers. Let us take such a triple with the product minimized. Then, Since and c are the sides of a primitive Pythagorean triangle, exactly one of a and b is even. Without loss of generality, let us assume that a is even. By (9), there are positive integers u and not both odd, with such that and Since and b is odd, v must be even. Since and it follows that and u are squares. Thus, for some positive integer Again by (9), there are positive integers s and not both odd, with such that and Since is a square, so is Thus, there are positive integers x and y such that and The fact that implies that Moreover, , so that However, this contradicts the minimality of From this, it immediately follows that has no solution in positive integers. Indeed, if is a solution of then is a solution of
An immediate consequence of this result is that there is no primitive Pythagorean triple all the sides of which are squares. However, there exist Pythagorean triples (not necessarily primitive) whose sides if increased by one are squares. For example, It is not known whether infinitely many such triples exist. We can also deduce that the equations and do not have solutions in positive integers.
Fermat’s last theorem is a very special case of a central problem in diophantine analysis. It is required to devise criteria to decide in a finite number of non-tentative steps whether or not a given diophantine equation is solvable.
P36. Fermat’s method of infinite descent also applies to show that there are no positive integers
and
c such that
(see Burton [
8]).
From P35 and P36, it follows that in a Pythagorean triple , at most one of the members can be a perfect square. This is clear from the fact that none of the equations has a solution.
P37. In P3, we mentioned that the area
of a primitive Pythagorean triangle
can never be a square number. To show this, assume that
which is the same as
Adding and subtracting this relation from
give:
Multiplying these relations, we find:
which in view of P36 is impossible.
P38. Consider the reciprocal Pythagorean relation, i.e.,
where
is primitive (Eli Maor [
34] calls this relation the little Pythagorean relation). The only positive integer solutions of this equation are given by:
where
u and
v are relatively prime positive integers, one of which is even, and
In particular, for
, we have
P39. Jordanus De Nemore (around 1225–1237) found integers
and
z so that
i.e.,
which can be written as:
Since
is even,
x and
z must be of the same parity. This shows that
and
are integers, but then, this is the same as the Pythagorean triple problem and has an infinite number of integer solutions, namely from (9),
Thus, it follows that:
where
and are of different parity. As an example, for
, we have
and hence,
We also note that
, and we get the Pythagorean triple
see
Table 3. If we begin with the Pythagorean triple
then
and the equality
holds. Similarly, for the Pythagorean triple
we have
, and the relation
holds. In conclusion, there is a one-to-one correspondence between Pythagorean triples and the solutions of
We can also find integer solutions of the equation
where
Since
we must have
,
, which gives
,
,
, which is better written as:
If we let then and this gives If we take then which upon dividing by eight gives and we have the identity Finally, if we take then after dividing by two, we obtain and the equality
P40. The origin of De Nemore’s problem comes from Diophantus’ Problem II-19, which states: Find three squares such that the difference between the greatest and the middle has a given ratio
to the difference between the middle and the least. If we let nonzero real numbers
such that
then we need to find the solution of the equation:
where
It is clear that if
is a solution of (28), then
is also a solution. Thus, it suffices to consider only integer solutions of (28). The case
has been discussed in P39, so we will mainly take up the case when
We rewrite (28) as:
which leads to the equations:
Solving these equations, we get:
where
r is an arbitrary positive real number, and it will be chosen so that
and
z are integers with
Using (29) on both sides of (28), we find:
Thus,
holds provided
If
or
we have
which is an empty case. If
then we have
and in such a case, we rewrite (28) as:
If then once again, we have and hence, (28) holds. If then we have which is again an empty case. Finally, if then we find and therefore, (31) holds.
If
and
is a natural number, then from (29), we find:
which gives Plato’s characterization of the Pythagorean triples (7). For
from (29), we get
so we choose
to obtain
, and from (28), we have the equality
For
from (29), we get
and we choose
so that
and from (31), we get the equality
For
(29) reduces to
Thus, in particular, for
and
we have
and from (28) follows the equality
For
and
(29) gives
and from (31), we have the equality
Diophantus gives only one solution for
that is
(the common factor
can be removed). Unfortunately, this solution cannot be obtained from (29). Thus, (29) does not generate all solutions of (28). Extending Diophantus’ method, we assume that
and
then the Equation (
28) gives:
where
so that
It follows that:
For from (32), we get i.e., which is the same as Diophantus’ solution. Similarly, for we get
P41. A Heronian triangle
(see Carlson [
35]) has integer sides whose area is also an integer. Since in a Pythagorean triple at least one of the legs
must be even and the area
is an integer, every Pythagorean triple is a Heronian triple; however, the converse is not true: the Heronian triple
has the area
but it is not a Pythagorean triple. These triangles are named because such triangles are related to Heron’s (Bhaskara I, born before 123 BC) formula
where
Finding a Heronian triangle is therefore equivalent to solving the Diophantine equation
As for Pythagorean triples, if
is a Heronian triple, so is
The Heronian triple
is called primitive provided
are pairwise relatively prime. There are infinitely many primitive Heronian triples. Brahmagupta acquired the parametric solution such that every Heronian triangle has sides proportional to:
where
and
The proportionality factor is generally a rational
where
reduces the generated Heronian triangle to its primitive and
p scales up this primitive to the required size. For example, taking
and
produces a triangle with
and
which is similar to the
primitive Heronian triangle with the proportionality factors
and
It is known that the perimeter of a Heronian triangle is always an even number, and every primitive Heronian triangle has exactly one even side. The area of a Heronian triangle is always divisible by six. Further, by Heron’s formula, it follows that a triple
with
is Heronian if
is a nonzero perfect square divisible by
A few primitive Heronian triangles that are not Pythagorean triples, sorted by increasing areas, are:
P42. A congruent number
n is a positive integer that is equal to the area of a rational right triangle, i.e., it is a rational solution of Equation (
1), which in addition satisfies the equation
Clearly, every Pythagorean triple (primitive, as well as non-primitive) gives a congruent number, but in view of P37,
A and hence
n cannot be a perfect square. Thus,
cannot be congruent numbers. If
n is a congruent number, i.e.,
then
is also a congruent number for any positive integer
indeed, it follows from the facts that:
imply
Thus, the main interest is in square-free congruent numbers. Fermat in 1640 proved that there is no right triangle with rational sides and area one; he also showed that two and three are not congruent numbers. From an Arab manuscript of the 10th Century, it is known that five and six are congruent numbers. In fact, we have:
and the first Pythagorean triple
gives the number six. We also have:
and (see Conrad [
36]),
i.e., the same congruent number can have several (may be infinite) rational right triangles. Don Bernard Zagier (born 29 June 1951) computed the simplest rational right triangle (see
Figure 3) for the congruent number 157 (the same has also appeared in several places, e.g., Peng [
37], Veljan [
38], and Wiles [
39])
While in 1986, Kramarz [
40] listed all congruent numbers up to less than 2000, to find if a given positive integer
n is congruent remains an open number-theoretic problem. The relation of this problem to elliptic curves has been studied extensively; see Koblitz [
41]. Furthermore, its beautiful equivalent form:
n is a congruent number, if and only if,
has solutions; further, if
is a solution, then:
is only of theoretical interset.
P43. A Pythagorean quadruple is a tuple of four integers
and
such that
A Pythagorean quadruple
is called primitive if the greatest common divisor of its numbers is one. The set of primitive Pythagorean quadruples for which
a is odd can be generated by (see Carmichael [
12,
13] and Spira [
42]):
where
are non-negative integers with the greatest common divisor one such that
is odd. Thus, all primitive Pythagorean quadruples are characterized by Henri Léon Lebesgue’s (1875-1941) identity:
As an example, for
we have
, and hence,
is a primitive Pythagorean quadruple. Indeed, we have the identity:
Besides
, there are 30 more primitive Pythagorean quadruples in which all entries are less than 30 (see
https://en.wikipedia.org/wiki/Pythagorean_quadruple):
Quadruple
can also be obtained by the simple identity:
For example, for , this identity reduces to Thus, we get back the quadruple
P44. We note that the Euler–Aida Ammei (1747–1817) identity:
implies that the sum of
squares is the square of the sum of
squares. Identity (34) for
,
,
gives (9); for
, it reduces to (33); and for
,
, it gives quintuples:
For example, for , this identity reduces to Thus, dividing this relation by we get the quintuple
P45. Euler in 1748 gave the following Brahmagupta–Diophantus–Fibonacci (15), (16), type four-square identity:
Clearly, as in P28, Equality (36) can be used to find new four-square identities. We also note that for Equality (36) is the same as (35).
P46. Carl Ferdinand Degen (1766–1825) around 1818 discovered the eight-square identity:
Clearly, for Equality (37) is the same as (34) with The equality (37) was independently rediscovered by John Thomas Graves (1806–1870) in 1843 and Arthur Cayley (1821–1895) in 1845. In 1898, Adolf Hurwitz (1859–1919) proved that there is no similar identity for 16 squares or any other number of squares except for 1,2,4, and 8.
P47. Srinivasa Ramanujan’s (1887–1920) identity:
parameterizes the sum of three cubes into a cube, i.e.,
(known as Fermat’s cubic) whose general solution was found by Euler and Viéte. Identity (38) for
reduces to Euler’s equality
(this smallest number is known as Plato’s number), whereas for
, it gives
The sum of three cubes into a cube can also be parameterized as (see Hardy and Wright [
43]):
or as:
For , Identities (39) and (40), respectively, reduce to (which is the same as ) and (which is the same as given by (38)).
P48. In 1769, Euler made the conjecture that:
implies
This conjecture makes an effort to generalize Fermat’s last theorem, which in fact is a special case; indeed, if
, then
In view of Fermat’s last theorem and P48, Euler’s conjecture holds for
however, it has been disproven for
and
and for
, the answer is unknown. For the cases
and 5, the known counterexamples are:
Noam David Elkies [
44] in 1986,
Leon Lander and Thomas Parkin [
46] in 1966,
The following identities support Euler’s conjecture:
Leon Lander, Thomas Parkin, and John Selfridge (LPS) [
47] in 1967,
P49. Euler gave a parametric solution of the equation:
namely,
where
a and
b are any integers. Equation (
42) has the following 10 solutions with sum
(see Guy [
17]):
From Euler’s parametric solution of (42), we cannot find
a and
b to obtain the relation
However, one of Ramanujan’s parametrizations:
with
does give this relation. In the literature, the number 1729 is known as the taxicab or Hardy–Ramanujan number. For this, the story is as follows: Once, Hardy went to see Ramanujan when he was in a nursing home and remarked that he had traveled in a taxi with a rather dull number, 1729, at which Ramanujan exclaimed, “No, Hardy, 1729 is a very interesting number. It is the smallest number that can be expressed as the sum of two cubes (
), and the next such number is very large”. We are told Ramanujan was endowed with an astounding memory and remembered the idiosyncrasies of the first 10,000 integers to such an extent that each number became like a personal friend to him. Hardy and Wright [
43] proved that there are numbers that are expressible as the sum of two cubes in
n ways for any
For example, the numbers representable in three ways as the sum of two cubes are:
Euler also proved that there exist infinitely many solutions of the equation
and its smallest solution is (see Dunham [
49]):
The following equalities are provided by Guy [
17].
In P48 and P49, the amount of effort necessary to find examples/counterexamples—even when the effort came from computers—was then astonishing. In view of some of these equalities in 1967, LPS made the following conjecture: If:
where
are positive integers for all
and
then
Clearly, for
(43) is the same as Relation (41), but then,
P50. In 1844, Eugéne Charles Catalan (1814–1894) made the conjecture that eight and nine are the only numbers that differ by one and are both exact powers
This conjecture was proven by Preda Mihăilescu (Born 1955) after one hundred and fifty-eight years and published two years later in [
50]. Thus, the only solution in natural numbers of the Diophantine equation
for
is
,
. In 1931, Subbayya Sivasankaranarayana Pillai (1901–1950) conjectured that for fixed positive integers
, the Diophantine equation
has only finitely many solutions
with