The Berggren tree is a rooted tree of primitive Pythagorean triples, with three children at every node. Fix the convention odd, even and . Starting from the column vector , multiply by any of
The first children are , and . These unimodular matrices preserve the quadratic form , integer parity and greatest common divisor. Every primitive Pythagorean triple occurs exactly once. F. J. M. Barning's report gives this matrix-generation theorem with the even leg first.[ref]
An infinite descent argument explains completeness. Except at the root, the unique parent is
Its hypotenuse is positive and smaller than , since . The first two unmodified entries cannot both be negative; their signs select the inverse of , or . The odd entry cannot vanish; the even entry vanishes only at . Repeated descent therefore reaches that root. Multiplying all three coordinates by a positive integer supplies every nonprimitive Pythagorean triple.

Articles by others on the same topic (0)

There are currently no matching articles.