P94
projecteuler.net

Almost Equilateral Triangles

ℹ️Published on Friday, 29th April 2005, 06:00 pm; Solved by 14102;
Difficulty rating: 35%

It is easily proved that no equilateral triangle exists with integral length sides and integral area. However, the almost equilateral triangle 5-5-6 has an area of 12 square units.

We shall define an almost equilateral triangle to be a triangle for which two sides are equal and the third differs by no more than one unit.

Find the sum of the perimeters of all almost equilateral triangles with integral side lengths and area and whose perimeters do not exceed one billion (1000000000).



Soluzione

Last modified: May 27, 2025. Website built with Franklin.jl and the lovely Julia programming language.