  The general formulas for finding the quantity of all primitive and
nonprimitive triples generated by the given number x have been proposed. Also
the formulas for finding the complete quantity of the representations of the
integers as a difference of two squares have been obtained.
