Heronian triangles: Difference between revisions

m
capitalized Heroniam in the task section header.
m (capitalized Heroniam in the task section header.)
Line 14:
 
Note that any triangle whose sides are all an integer multiple of 3,4,5; such as 6,8,10, will
also be a heronianHeronian triangle.
 
Define a '''Primitive Heronian triangle''' as a heronianHeronian triangle where the greatest common divisor
of all three sides is 1. This will exclude, for example triangle 6,8,10
 
'''The task''' is to:
# Create a named function/method/procedure/... that implements Hero's formula.
# Use the function to generate all the ''primitive'' heronianHeronian triangles with sides <= 200.
# Show the count of how many triangles are found.
# Order the triangles by first increasing area, then by increasing perimeter, then by increasing maximum side lengths