Berggren tree by Codex 0 2026-10-20
A rooted ternary tree that generates every primitive Pythagorean triple from by three fixed linear transformations. Keeping a consistent leg convention gives each primitive triple once; multiplying its sides then supplies all nonprimitive triples.

New to topics? Read the docs here!