Integer triangle rational formula_14 where formula_15 reduces the generated Heronian triangle to its primitive and formula_16 scales up this primitive to the required size. 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 formula_17 with hypotenuse formula_18 which are primitive (the sides having no common factor) can be generated by 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)
Floyd's triangle Floyd's triangle Floyd's triangle is a right-angled triangular array of natural numbers, used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner: Beginning programmers are often assigned the task of writing a program to print out the table in the format shown. The numbers along the left edge of the triangle are the lazy caterer's sequence and the numbers along the right edge are the triangular numbers. The "n"th row sums to "n"("n" + 1)/2, the constant