Girish Mahajan (Editor)

Integer triangle

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Integer triangle

An integer triangle or integral triangle is a triangle all of whose sides have lengths that are integers. A rational triangle can be defined as one having all sides with rational length; any such rational triangle can be integrally rescaled (can have all sides multiplied by the same integer, namely a common multiple of their denominators) to obtain an integer triangle, so there is no substantive difference between integer triangles and rational triangles in this sense. Note however, that other definitions of the term "rational triangle" also exist: In 1914 Carmichael used the term in the sense that we today use the term Heronian triangle; Somos uses it to refer to triangles whose ratios of sides are rational; Conway and Guy define a rational triangle as one with rational sides and rational angles measured in degrees—in which case the only rational triangle is the rational-sided equilateral triangle.

Contents

There are various general properties for an integer triangle, given in the first section below. All other sections refer to classes of integer triangles with specific properties.

Integer triangles with given perimeter

Any triple of positive integers can serve as the side lengths of an integer triangle as long as it satisfies the triangle inequality: the longest side is shorter than the sum of the other two sides. Each such triple defines an integer triangle that is unique up to congruence. So the number of integer triangles (up to congruence) with perimeter p is the number of partitions of p into three positive parts that satisfy the triangle inequality. This is the integer closest to p248 when p is even and to (p + 3)248 when p is odd. It also means that the number of integer triangles with even numbered perimeters p = 2n is the same as the number of integer triangles with odd numbered perimeters p = 2n − 3. Thus there is no integer triangle with perimeter 1, 2 or 4, one with perimeter 3, 5, 6 or 8, and two with perimeter 7 or 10. The sequence of the number of integer triangles with perimeter p, starting at p = 1, is:

0, 0, 1, 0, 1, 1, 2, 1, 3, 2, 4, 3, 5, 4, 7, 5, 8, 7, 10, 8 ... (sequence A005044 in the OEIS)

Integer triangles with given largest side

The number of integer triangles (up to congruence) with given largest side c and integer triple (abc) is the number of integer triples such that a + b > c and a ≤ b ≤ c. This is the integer value Ceiling[(c + 1)2] * Floor[(c + 1)2]. Alternatively, for c even it is the double triangular number c2(c2 + 1) and for c odd it is the square (c + 1)24. It also means that the number of integer triangles with greatest side c exceeds the number of integer triangles with greatest side c−2 by c. The sequence of the number of non-congruent integer triangles with largest side c, starting at c = 1, is:

1, 2, 4, 6, 9, 12, 16, 20, 25, 30, 36, 42, 49, 56, 64, 72, 81, 90 ... (sequence A002620 in the OEIS)

The number of integer triangles (up to congruence) with given largest side c and integer triple (abc) that lie on or within a semicircle of diameter c is the number of integer triples such that a + b > c , a2 + b2 ≤ c2 and a ≤ b ≤ c. This is also the number of integer sided obtuse or right (non-acute) triangles with largest side c. The sequence starting at c = 1, is:

0, 0, 1, 1, 3, 4, 5, 7, 10, 13, 15, 17, 22, 25, 30, 33, 38, 42, 48 ... (sequence A236384 in the OEIS)

Consequently, the difference between the two above sequences gives the number of acute integer sided triangles (up to congruence) with given largest side c. The sequence starting at c = 1, is:

1, 2, 3, 5, 6, 8, 11, 13, 15, 17, 21, 25, 27, 31, 34, 39, 43, 48, 52 ... (sequence A247588 in the OEIS)

Area of an integer triangle

By Heron's formula, if T is the area of a triangle whose sides have lengths a, b, and c then

4 T = ( a + b + c ) ( a + b c ) ( a b + c ) ( a + b + c ) .

Since all the terms under the radical on the right side of the formula are integers it follows that all integer triangles must have an integer value of 16T2 and T2 will be rational.

Angles of an integer triangle

By the law of cosines, every angle of an integer triangle has a rational cosine.

If the angles of any triangle form an arithmetic progression then one of its angles must be 60°. For integer triangles the remaining angles must also have rational cosines and a method of generating such triangles is given below. However, apart from the trivial case of an equilateral triangle there are no integer triangles whose angles form either a geometric or harmonic progression. This is because such angles have to be rational angles of the form πpq with rational  0 < pq < 1. But all the angles of integer triangles must have rational cosines and this will occur only when pq = 13  i.e. the integer triangle is equilateral.

The square of each internal angle bisector of an integer triangle is rational, because the general triangle formula for the internal angle bisector of angle A is 2 b c s ( s a ) b + c where s is the semiperimeter (and likewise for the other angles' bisectors).

Side split by an altitude

Any altitude dropped from a vertex onto an opposite side or its extension will split that side or its extension into rational lengths.

Medians

The square of twice any median of an integer triangle is an integer, because the general formula for the squared median ma2 to side a is ( 2 b 2 + 2 c 2 a 2 ) 4 , giving (2ma)2 = 2b2 + 2c2 − a2 (and likewise for the medians to the other sides).

Circumradius and inradius

Because the square of the area of an integer triangle is rational, the square of its circumradius is also rational, as is the square of the inradius.

The ratio of the inradius to the circumradius of an integer triangle is rational, equaling 4 T 2 s a b c for semiperimeter s and area T.

The product of the inradius and the circumradius of an integer triangle is rational, equaling a b c 2 ( a + b + c ) .

Thus the squared distance between the incenter and the circumcenter of an integer triangle, given by Euler's theorem as R2−2Rr, is rational.

General formula

A Heronian triangle, also known as a Heron triangle or a Hero triangle, is a triangle with integer sides and integer area. Every Heronian triangle has sides proportional to

a = n ( m 2 + k 2 ) b = m ( n 2 + k 2 ) c = ( m + n ) ( m n k 2 ) Semiperimeter = m n ( m + n ) Area = m n k ( m + n ) ( m n k 2 )

for integers m, n and k subject to the constraints:

gcd ( m , n , k ) = 1 m n > k 2 m 2 n / ( 2 m + n ) m n 1 .

The proportionality factor is generally a rational   p q   where   q = gcd ( a , b , c )   reduces the generated Heronian triangle to its primitive and   p   scales up this primitive to the required size.

Pythagorean triangles

A Pythagorean triangle is right angled and Heronian. Its three integer sides are known as a Pythagorean triple or Pythagorean triplet or Pythagorean triad. All Pythagorean triples ( a , b , c ) with hypotenuse c which are primitive (the sides having no common factor) can be generated by

a = m 2 n 2 , b = 2 m n , c = m 2 + n 2 , Semiperimeter = m ( m + n ) Area = m n ( m 2 n 2 )

where m and n are coprime integers and one of them is even with m > n.

Every even number greater than 2 can be the leg of a Pythagorean triangle (not necessarily primitive) because if the leg is given by a = 2 m and we choose b = ( a / 2 ) 2 1 = m 2 1 as the other leg then the hypotenuse is c = m 2 + 1 . This is essentially the generation formula above with n set to 1 and allowing m to range from 2 to infinity.

Pythagorean triangles with integer altitude from the hypotenuse

There are no primitive Pythagorean triangles with integer altitude from the hypotenuse. This is because twice the area equals any base times the corresponding height: 2 times the area thus equals both ab and cd where d is the height from the hypotenuse c. The three side lengths of a primitive triangle are coprime, so d = abc is in fully reduced form; since c cannot equal 1 for any primitive Pythagorean triangle, d cannot be an integer.

However, if we have a non-primitive Pythagorean triple (ka, kb, kc), where (a, b, c) is a primitive Pythagorean triple and k a positive integer, then we see that d = kabc, so we have an integer altitude iff c | k. Such a triangle is called decomposable, as dividing it into two similar smaller triangles with that altitude yields two more Pythagorean triangles. This is because in each smaller triangle generated, the altitude of the main triangle corresponds to one of the legs of the main triangle under the rescaling, but it is an integer multiple of that leg's value in the primitive triangle, as can be seen from the equation for the altitude above, so this is our scale factor from the primitive triangle to this subtriangle. Thus, in short, each subtriangle is the result of scaling our primitive triangle by some positive integer scale factor and thus is still a Pythagorean triangle. Unfortunately, these triangles are not in general decomposable themselves, so we don't get any fractal-type pattern.

A simple example is the Pythagorean triangle corresponding to (15, 20, 25). This has d = 12 an integer, because it is expressible as (5*3, 5*4, 5*5), so k = 5 and (a, b, c) = (3, 4, 5). And indeed, we have that our scale factor 5 is a multiple of our primitive hypotenuse 5. This is actually the smallest example possible.

Furthermore, any Pythagorean triangle with legs xy and hypotenuse z can generate a Pythagorean triangle with an integer altitude, by scaling up the sides by the length of the hypotenuse z. If d is the altitude, then the generated Pythagorean triangle with integer altitude is given by

( a , b , c , d ) = ( x z , y z , z 2 , x y ) .

Consequently, all Pythagorean triangles with legs a and b, hypotenuse c, and integer altitude d from the hypotenuse, with gcd (a, b, c, d) = 1, which necessarily have both a2 + b2 = c2 and 1 a 2 + 1 b 2 = 1 d 2 , are generated by

a = ( m 2 n 2 ) ( m 2 + n 2 ) , b = 2 m n ( m 2 + n 2 ) , c = ( m 2 + n 2 ) 2 , d = 2 m n ( m 2 n 2 ) , Semiperimeter = m ( m + n ) ( m 2 + n 2 ) Area = m n ( m 2 n 2 ) ( m 2 + n 2 ) 2

for coprime integers m, n with m > n.

Heronian triangles with sides in arithmetic progression

A triangle with integer sides and integer area has sides in arithmetic progression if and only if the sides are (bd, b, b + d), where

b = 2 ( m 2 + 3 n 2 ) / g , d = ( m 2 3 n 2 ) / g ,

and where g is the greatest common divisor of m 2 3 n 2 , 2 m n , and m 2 + 3 n 2 .

Heronian triangles with one angle equal to twice another

All Heronian triangles with B=2A are generated by either

a = k 2 ( s 2 + r 2 ) 2 4 , b = k 2 ( s 4 r 4 ) 2 , c = k 2 ( 3 s 4 10 s 2 r 2 + 3 r 4 ) 4 Area = k 2 c s r ( s 2 r 2 ) 2

with integers k, s, r such that s2 > 3r2, or

a = q 2 ( u 2 + v 2 ) 2 4 , b = q 2 u v ( u 2 + v 2 ) , c = q 2 ( 14 u 2 v 2 u 4 v 4 ) 4 , Area = q 2 c u v ( v 2 u 2 ) 2 ,

with integers q, u, v such that v > u and v2 < (7+4√3)u2.

No Heronian triangles with B = 2A are isosceles or right triangles because all resulting angle combinations generate angles with non-rational sines, giving a non-rational area or side.

Isosceles Heronian triangles

All isosceles Heronian triangles are given by rational multiples of

a = 2 ( u 2 v 2 ) , b = u 2 + v 2 , c = u 2 + v 2 ,

for coprime integers u and v with u>v.

Heronian triangles whose perimeter is four times a prime

It has been shown that a Heronian triangle whose perimeter is four times a prime is uniquely associated with the prime and that the prime is of the form 1  or  3  mod  8 . It is well known that such a prime p can be uniquely partitioned into integers m and n such that p = m 2 + 2 n 2 (see Euler's idoneal numbers). Furthermore, it has been shown that such Heronian triangles are primitive since the smallest side of the triangle has to be equal to the prime that is one quarter of its perimeter.

Consequently, all primitive Heronian triangles whose perimeter is four times a prime can be generated by

a = m 2 + 2 n 2 b = m 2 + 4 n 2 c = 2 ( m 2 + n 2 ) Semiperimeter = 2 a = 2 ( m 2 + 2 n 2 ) Area = 2 m n ( m 2 + 2 n 2 )

for integers m and n such that m 2 + 2 n 2 is a prime.

Furthermore, the factorization of the area is 2 m n p where p = m 2 + 2 n 2 is prime. However the area of a Heronian triangle is always divisible by 6 . This gives the result that apart from when m = 1 and n = 1 , which gives p = 3 , all other parings of m and n must have m odd with only one of them divisible by 3 .

Heronian triangles as faces of a tetrahedron

There exist tetrahedra having integer-valued volume and Heron triangles as faces. One example has one edge of 896, the opposite edge of 190, and the other four edges of 1073; two faces have areas of 436800 and the other two have areas of 47120, while the volume is 62092800.

Properties of Heronian triangles

  • The perimeter of a Heronian triangle is always an even number. Thus every Heronian triangle has an odd number of sides of even length, and every primitive Heronian triangle has exactly one even side.
  • The semiperimeter s of a Heronian triangle with sides a, b and c can never be prime. This can be seen from the fact that s(s−a)(s−b)(s−c) has to be a perfect square and if s is a prime then one of the other terms must have s as a factor but this is impossible as these terms are all less than s.
  • The area of a Heronian triangle is always divisible by 6.
  • All the altitudes of a Heronian triangle are rational. This can be seen from the fact that the area of a triangle is half of one side times its altitude from that side, and a Heronian triangle has integer sides and area. Some Heronian triangles have three non-integer altitudes, for example the acute (15, 34, 35) with area 252 and the obtuse (5, 29, 30) with area 72. Any Heronian triangle with one or more non-integer altitudes can be scaled up by a factor equalling the least common multiple of the altitudes' denominators in order to obtain a similar Heronian triangle with three integer altitudes.
  • Heronian triangles that have no integer altitude (in-decomposable and non-Pythagorean) have sides that are all divisible by primes of the form 4k+1. However decomposable Heronian triangles must have two sides that are the hypotenuse of Pythagorean triangles. Hence all Heronian triangles that are not Pythagorean have at least two sides that are divisible by primes of the form 4k+1. Finally all Heronian triangles have at least one side that is divisible by primes of the form 4k+1.
  • All the interior perpendicular bisectors of a Heronian triangle are rational: For any triangle these are given by p a = 2 a T a 2 + b 2 c 2 , p b = 2 b T a 2 + b 2 c 2 , and p c = 2 c T a 2 b 2 + c 2 , where the sides are abc and the area is T; in a Heronian triangle all of a, b, c, and T are integers.
  • There are no equilateral Heronian triangles.
  • There are no Heronian triangles with a side length of either 1 or 2.
  • There exist an infinite number of primitive Heronian triangles with one side length equal to a provided that a > 2.
  • There are no Heronian triangles whose side lengths form a geometric progression.
  • If any two sides (but not three) of a Heronian triangle have a common factor, that factor must be the sum of two squares.
  • Every angle of a Heronian triangle has a rational sine. This follows from the area formula Area = (1/2)ab sin C, in which the area and the sides a and b are integers (and equivalently for the other angles). Since all integer triangles have all angles' cosines rational, this implies that each oblique angle of a Heron triangle has a rational tangent.
  • There are no Heronian triangles whose three internal angles form an arithmetic progression. This is because at least one angle has to be 60°, which does not have a rational sine.
  • Any square inscribed in a Heronian triangle has rational sides: For a general triangle the inscribed square on side of length a has length 2 T a a 2 + 2 T where T is the triangle's area; in a Heronian triangle, both T and a are integers.
  • Every Heronian triangle has a rational inradius (radius of its inscribed circle): For a general triangle the inradius is the ratio of the area to half the perimeter, and both of these are rational in a Heronian triangle.
  • Every Heronian triangle has a rational circumradius (the radius of its circumscribed circle): For a general triangle the circumradius equals one-fourth the product of the sides divided by the area; in a Heronian triangle the sides and area are integers.
  • In a Heronian triangle the distance from the centroid to each side is rational, because for all triangles this distance is the ratio of twice the area to three times the side length. This can be generalized by stating that all centers associated with Heronian triangles whose barycentric coordinates are rational ratios have a rational distance to each side. These centers include the circumcenter, orthocenter, nine-point center, symmedian point, Gergonne point and Nagel point.
  • Integer automedian triangles

    An automedian triangle is one whose medians are in the same proportions (in the opposite order) as the sides. If x, y, and z are the three sides of a right triangle, sorted in increasing order by size, and if 2x < z, then z, x + y, and y − x are the three sides of an automedian triangle. For instance, the right triangle with side lengths 5, 12, and 13 can be used in this way to form the smallest integer automedian triangle, with side lengths 13, 17, and 7.

    Consequently, using Euclid's formula, which generates primitive Pythagorean triangles, it is possible to generate primitive integer automedian triangles as

    | m 2 2 m n n 2 | m 2 + 2 m n n 2 m 2 + n 2

    with m and n coprime and m + n odd, and n < m < n 3   or   m > ( 1 + 3 ) n to satisfy the triangle inequality.

    Integer triangles in a 2D lattice

    A 2D lattice is a regular array of isolated points where if any one point is chosen as the Cartesian origin (0, 0), then all the other points are at (x, y) where x and y range over all positive and negative integers. A lattice triangle is any triangle drawn within a 2D lattice such that all vertices lie on lattice points. By Pick's theorem a lattice triangle has a rational area that is either an integer or has a denominator of 2. If the lattice triangle has integer sides then it is Heronian with integer area.

    Furthermore, it has been proved that all Heronian triangles can be drawn as lattice triangles. Consequently, it can be stated that an integer triangle is Heronian if and only if it can be drawn as a lattice triangle.

    Integer triangles with a rational angle bisector

    A triangle family with integer sides a , b , c and with rational bisector d of angle A is given by

    a = 2 ( k 2 m 2 ) , b = ( k m ) 2 , c = ( k + m ) 2 , d = 2 k m ( k 2 m 2 ) k 2 + m 2 ,

    with integers k > m > 0 .

    Integer triangles with integer n-sectors of all angles

    There exist infinitely many non-similar triangles in which the three sides and the bisectors of each of the three angles are integers.

    There exist infinitely many non-similar triangles in which the three sides and the two trisectors of each of the three angles are integers.

    However, for n > 3 there exist no triangles in which the three sides and the (n–1) n-sectors of each of the three angles are integers.

    Integer triangles with one angle with a given rational cosine

    Some integer triangles with one angle at vertex A having given rational cosine h/k (h<0 or >0; k>0) are given by

    a = p 2 2 p q h + q 2 k 2 , b = p 2 q 2 k 2 , c = 2 q k ( p q h ) ,

    where p and q are any coprime positive integers such that p>qk.

    Integer triangles with a 60° angle (angles in arithmetic progression)

    All integer triangles with a 60° angle have their angles in an arithmetic progression. All such triangles are proportional to:

    a = 4 m n b = 3 m 2 + n 2 c = 2 m n + | 3 m 2 n 2 |

    with coprime integers m, n and 1 ≤ n ≤ m or 3m ≤ n. From here, all primitive solutions can be obtained by dividing a, b, and c by their greatest common divisor.

    Integer triangles with a 60° angle can also be generated by

    a = m 2 m n + n 2 b = 2 m n n 2 c = m 2 n 2

    with coprime integers m, n with 0 < n < m (the angle of 60° is opposite to the side of length a). From here, all primitive solutions can be obtained by dividing a, b, and c by their greatest common divisor (e.g. an equilateral triangle solution is obtained by taking m = 2 and n = 1, but this produces a = b = c = 3, which is not a primitive solution). See also

    More precisely, If m = n   ( m o d   3 ) , then g c d ( a , b , c ) = 3 , otherwise g c d ( a , b , c ) = 1 . Two different pairs ( m , n ) and ( m , m n ) generate the same triple. Unfortunately the two pairs can both be of gcd=3, so we can't avoid duplicates by simply skipping that case. Instead, duplicates can be avoided by n going only till m / 2 . Note that we still need to divide by 3 if gcd=3. The only solution for n = m / 2 under the above constraints is ( 3 , 3 , 3 ) ( 1 , 1 , 1 ) for m = 2 , n = 1 . With this additional n m / 2 constraint all triples can be generated uniquely.

    An Eisenstein triple is a set of integers which are the lengths of the sides of a triangle where one of the angles is 60 degrees.

    Integer triangles with a 120° angle

    Integer triangles with a 120° angle can be generated by

    a = m 2 + m n + n 2 , b = 2 m n + n 2 , c = m 2 n 2

    with coprime integers mn with 0 < n < m (the angle of 120° is opposite to the side of length a). From here, all primitive solutions can be obtained by dividing a, b, and c by their greatest common divisor (e.g. by taking m = 4 and n = 1, one obtains a = 21, b = 9 and c = 15, which is not a primitive solution, but leads to the primitive solution a = 7, b = 3, and c = 5 which, up to order, can be obtained with the values m = 2 and n = 1). See also.

    More precisely, If m = n   ( m o d   3 ) , then g c d ( a , b , c ) = 3 , otherwise g c d ( a , b , c ) = 1 . Since the biggest side a can only be generated with a single ( m , n ) pair, each primitive triple can be generated in precisely two ways: once directly with gcd=1, and once indirectly with gcd=3. Therefore, in order to generate all primitive triples uniquely, one can just add additional m n   ( m o d   3 ) condition.

    Integer triangles with one angle equal to an arbitrary rational number times another angle

    For positive relatively prime integers h and k, the triangle with the following sides has angles h α , k α , and π ( h + k ) α and hence two angles in the ratio h : k, and its sides are integers:

    a = q h + k 1 sin h α sin α = q k 0 i h 1 2 ( 1 ) i ( h 2 i + 1 ) p h 2 i 1 ( q 2 p 2 ) i , b = q h + k 1 sin k α sin α = q h 0 i k 1 2 ( 1 ) i ( k 2 i + 1 ) p k 2 i 1 ( q 2 p 2 ) i , c = q h + k 1 sin ( h + k ) α sin α = 0 i h + k 1 2 ( 1 ) i ( h + k 2 i + 1 ) p h + k 2 i 1 ( q 2 p 2 ) i ,

    where α = cos 1 p q and p and q are any relatively prime integers such that cos π h + k < p q < 1 .

    Integer triangles with one angle equal to twice another

    With angle A opposite side a and angle B opposite side b , some triangles with B=2A are generated by

    a = n 2 , b = m n c = m 2 n 2 ,

    with integers m, n such that 0 < n < m < 2n.

    Note that all triangles with B = 2A (whether integer or not) have a ( a + c ) = b 2 .

    Integer triangles with one angle equal to 3/2 times another

    The equivalence class of similar triangles with   B = 3 2 A are generated by

    a = m n 3 , b = n 2 ( m 2 n 2 ) , c = ( m 2 n 2 ) 2 m 2 n 2 ,

    with integers   m , n such that   0 < φ n < m < 2 n , where   φ is the golden ratio φ = 1 + 5 2 1.61803 .

    Note that all triangles with   B = 3 2 A (whether with integer sides or not) satisfy   ( b 2 a 2 ) ( b 2 a 2 + b c ) = a 2 c 2 .

    Integer triangles with one angle three times another

    We can generate the full equivalence class of similar triangles that satisfy B=3A by using the formulas

    a = n 3 , b = n ( m 2 n 2 ) , c = m ( m 2 2 n 2 ) ,

    where m and n are integers such that 2 n < m < 2 n .

    Note that all triangles with B = 3A (whether with integer sides or not) satisfy a c 2 = ( b a ) 2 ( b + a ) .

    Integer triangles with integer ratio of circumradius to inradius

    Conditions are known in terms of elliptic curves for an integer triangle to have an integer ratio N of the circumradius to the inradius. The smallest case, that of the equilateral triangle, has N=2. In every known case, N ≡ 2 (mod 8)—that is, N–2 is divisible by 8.

    Particular integer triangles

  • The only triangle with consecutive integers for sides and area has sides (3, 4, 5) and area 6.
  • The only triangle with consecutive integers for an altitude and the sides has sides (13, 14, 15) and altitude from side 14 equal to 12.
  • The (2, 3, 4) triangle and its multiples are the only triangles with integer sides in arithmetic progression and having the complementary exterior angle property. This property states that if angle C is obtuse and if a segment is dropped from B meeting perpendicularly AC extended at P, then ∠CAB=2∠CBP.
  • The (3, 4, 5) triangle and its multiples are the only integer right triangles having sides in arithmetic progression
  • The (4, 5, 6) triangle and its multiples are the only triangles with one angle being twice another and having integer sides in arithmetic progression.
  • The (3, 5, 7) triangle and its multiples are the only triangles with a 120° angle and having integer sides in arithmetic progression.
  • The only integer triangle with area=semiperimeter has sides (3, 4, 5).
  • The only integer triangles with area = perimeter have sides (5, 12, 13), (6, 8, 10), (6, 25, 29), (7, 15, 20), and (9, 10, 17). Of these the first two, but not the last three, are right triangles.
  • There exist integer triangles with three rational medians. The smallest has sides (68, 85, 87). Others include (127, 131, 158), (113, 243, 290), (145, 207, 328) and (327, 386, 409).
  • There are no isosceles Pythagorean triangles.
  • The only primitive Pythagorean triangles for which the square of the perimeter equals an integer multiple of the area are (3, 4, 5) with perimeter 12 and area 6 and with the ratio of perimeter squared to area being 24; (5, 12, 13) with perimeter 30 and area 30 and with the ratio of perimeter squared to area being 30; and (9, 40, 41) with perimeter 90 and area 180 and with the ratio of perimeter squared to area being 45.
  • References

    Integer triangle Wikipedia