• This program finds Pythagorean triples that include a specified number (3 ~ 100,000,000).
    [It computes for 10 consecutive numbers starting at the specified X.]
• "gcd" is the greatest common divisor of the triples.
• A primitive Pythagorean triple has no common factor other than 1, that is, gcd = 1.
• If there is no non-primitive Pythagorean triples then X is a prime number.

X : 


• This program is written in R (r-project.org).
    The "brew" package is used to integrate R and HTML.