Congruent number

In number theory, a congruent number is a positive integer that is the area of a right triangle with three rational number sides. A more general definition includes all positive rational numbers with this property.

The sequence of (integer) congruent numbers starts with


 * 5, 6, 7, 13, 14, 15, 20, 21, 22, 23, 24, 28, 29, 30, 31, 34, 37, 38, 39, 41, 45, 46, 47, 52, 53, 54, 55, 56, 60, 61, 62, 63, 65, 69, 70, 71, 77, 78, 79, 80, 84, 85, 86, 87, 88, 92, 93, 94, 95, 96, 101, 102, 103, 109, 110, 111, 112, 116, 117, 118, 119, 120, ...

For example, 5 is a congruent number because it is the area of a (20/3, 3/2, 41/6) triangle. Similarly, 6 is a congruent number because it is the area of a (3,4,5) triangle. 3 and 4 are not congruent numbers.

If $n$ is a congruent number then $s^{2}q$ is also a congruent number for any natural number $n$ (just by multiplying each side of the triangle by $n$), and vice versa. This leads to the observation that whether a nonzero rational number $n$ is a congruent number depends only on its residue in the group


 * $$\mathbb{Q}^{*}/\mathbb{Q}^{*2}, $$

where $$\mathbb{Q}^{*}$$ is the set of nonzero rational numbers.

Every residue class in this group contains exactly one square-free integer, and it is common, therefore, only to consider square-free positive integers, when speaking about congruent numbers.

Congruent number problem
The question of determining whether a given rational number is a congruent number is called the congruent number problem. This problem has not (as of 2019) been brought to a successful resolution. Tunnell's theorem provides an easily testable criterion for determining whether a number is congruent; but his result relies on the Birch and Swinnerton-Dyer conjecture, which is still unproven.

Fermat's right triangle theorem, named after Pierre de Fermat, states that no square number can be a congruent number. However, in the form that every congruum (the difference between consecutive elements in an arithmetic progression of three squares) is non-square, it was already known (without proof) to Fibonacci. Every congruum is a congruent number, and every congruent number is a product of a congruum and the square of a rational number. However, determining whether a number is a congruum is much easier than determining whether it is congruent, because there is a parameterized formula for congrua for which only finitely many parameter values need to be tested.

Solutions
n is a congruent number if and only if the system


 * $$x^2 - n y^2 = u^2$$, $$x^2 + n y^2 = v^2$$

has a solution where $$x, y, u$$, and $$v$$ are integers.

Given a solution, the three numbers $$u^2$$, $$x^2$$, and $$v^2$$ will be in an arithmetic progression with common difference $$n y^2$$.

Furthermore, if there is one solution (where the right-hand sides are squares), then there are infinitely many: given any solution $$(x, y)$$, another solution $$(x', y')$$ can be computed from


 * $$x' = (x u)^2 + n (y v)^2, $$
 * $$y' = 2 x y u v.$$

For example, with $$n = 6$$, the equations are:
 * $$x^2 - 6 y^2 = u^2, $$
 * $$x^2 + 6 y^2 = v^2. $$

One solution is $$x = 5, y = 2$$ (so that $$u = 1, v = 7$$). Another solution is
 * $$x' = (5 \cdot 1)^2 + 6 (2 \cdot 7)^2 = 1201, $$
 * $$y' = 2 \cdot 5 \cdot 2 \cdot 1 \cdot 7 = 140. $$

With this new $$x'$$ and $$y'$$, the new right-hand sides are still both squares:
 * $$u'^2 = 1201^2 - 6 \cdot 140^2 = 1324801 = 1151^2, $$
 * $$v'^2 = 1201^2 + 6 \cdot 140^2 = 1560001 = 1249^2. $$

Using $$x'=1201, y'=140, u', v'$$ as above gives
 * $$u''=1,727,438,169,601$$
 * $$v''=2,405,943,600,001$$

Given $$x, y, u$$, and $$v$$, one can obtain $$a, b$$, and $$c$$ such that
 * $$a^2 + b^2 = c^2$$, and $$\frac{ab}{2} = n$$

from
 * $$a = \frac{v - u}{y}, \quad b = \frac{v + u}{y}, \quad c = \frac{2x}{y}.$$

Then $$a, b$$ and $$c$$ are the legs and hypotenuse of a right triangle with area $$n$$.

The above values $$(x, y, u, v) = (5, 2, 1, 7)$$ produce $$(a, b, c) = (3, 4, 5)$$. The values $$(1201, 140, 1151, 1249)$$ give $$(a, b, c) = (7/10, 120/7, 1201/70)$$. Both of these right triangles have area $$n = 6$$.

Relation to elliptic curves
The question of whether a given number is congruent turns out to be equivalent to the condition that a certain elliptic curve has positive rank. An alternative approach to the idea is presented below (as can essentially also be found in the introduction to Tunnell's paper).

Suppose $n$, $n$, $n$ are numbers (not necessarily positive or rational) which satisfy the following two equations:



\begin{align} a^2 + b^2 &= c^2, \\ \tfrac{1}{2}ab &= n.	\end{align} $$

Then set $x = n(a + c)/b$ and $y = 2n^{2}(a + c)/b^{2}$. A calculation shows

y^2 = x^3 -n^2x $$ and $n$ is not 0 (if $y = 0$ then $a = −c$, so $b = 0$, but $(1/2)ab = n$ is nonzero, a contradiction).

Conversely, if $n$ and $n$ are numbers which satisfy the above equation and $n$ is not 0, set $a = (x^{2} − n^{2})/y$, $b = 2nx/y$, and $c = (x^{2} + n^{2})/y$. A calculation shows these three numbers satisfy the two equations for $n$, $n$, and $n$ above.

These two correspondences between ($n$,$n$,$n$) and ($q$,$s$) are inverses of each other, so we have a one-to-one correspondence between any solution of the two equations in $s$, $q$, and $a$ and any solution of the equation in $b$ and $c$ with $y$ nonzero. In particular, from the formulas in the two correspondences, for rational $x$ we see that $y$, $y$, and $a$ are rational if and only if the corresponding $b$ and $c$ are rational, and vice versa. (We also have that $a$, $b$, and $c$ are all positive if and only if $x$ and $y$ are all positive; from the equation $y^{2} = x^{3} − xn^{2} = x(x^{2} − n^{2})$ we see that if $a$ and $b$ are positive then $x^{2} − n^{2}$ must be positive, so the formula for $c$ above is positive.)

Thus a positive rational number $x$ is congruent if and only if the equation $y^{2} = x^{3} − n^{2}x$ has a rational point with $y$ not equal to 0. It can be shown (as an application of Dirichlet's theorem on primes in arithmetic progression) that the only torsion points on this elliptic curve are those with $y$ equal to 0, hence the existence of a rational point with $n$ nonzero is equivalent to saying the elliptic curve has positive rank.

Another approach to solving is to start with integer value of n denoted as N and solve


 * $$N^2=ed^2+e^2$$

where



\begin{align} c&=n^2/e+e\\ a&=2n\\ b&=n^2/e-e \end{align} $$

Current progress
For example, it is known that for a prime number $a$, the following holds:
 * if $p ≡ 3 (mod 8)$, then $b$ is not a congruent number, but 2$c$ is a congruent number.
 * if $p ≡ 5 (mod 8)$, then $x$ is a congruent number.
 * if $p ≡ 7 (mod 8)$, then $y$ and 2$a$ are congruent numbers.

It is also known that in each of the congruence classes $5, 6, 7 (mod 8)$, for any given $b$ there are infinitely many square-free congruent numbers with $c$ prime factors.