A Piece of the Pi: mathematics explained • 90 implied HN points • 01 Mar 26
- Matula arborification is a recursive recipe that turns any positive integer into a rooted forest: 1 is the empty forest, 2 is a single node, primes become trees by attaching a new root to the forest of their index, and composites are represented by juxtaposing the trees of their prime factors.
- This correspondence is useful in number theory and combinatorics — it can help prove relationships between primes and encodes integer sequences (for example the primeth sequence appears as vertical chains of trees).
- The idea also has practical applications in chemistry for canonically labeling alkane structures (with valence limits ruling out some forests), and there are online tools that generate and visualize Matula trees for given integers.