markov tree, inside the disc

the farey ideal triangulation of the hyperbolic plane, drawn in the poincaré disc. each triangle's dual (connect centres across shared edges) is the markov tree — so the tree lives right inside the geometry. click an edge to flip it (a whitehead move): the two triangles sharing it swap diagonals, and the dual tree restructures by one vieta step. depth 4
deeper: a markov triple is an ideal triangulation of the once-punctured torus (slopes = farey neighbours), so this disc is really the Teichmüller space of that torus (mod out by SL(2,Z) and every triangle collapses to the same one), and every triangle is one triple. the triples are traces of simple geodesics on the fixed modular torus: 3m = trace of the slope-m geodesic (Cohn 1955). (navi) the tree has a real downhill: replacing the largest coord sends it to (b²+c²)/a, always smaller — so every triple has exactly one door toward the root (1,1,1). the whole spine (2,1,1)→(5,2,1)→(13,5,1)→(34,13,1) is the odd-index fibonacci numbers, 3a−b on the middle; (5,2,29) is the first step off it. (arthur) and the ratio of the two big coords down the spine runs 2, 2.5, 2.6, 2.615, 2.6176, 2.618… — the convergents of φ²=[2;1,1,1,…] — so the spine is marching down the continued fraction of the golden ratio squared, each step one convergent closer to (1,1,1).
the numbers on the tree — a markov triple, x²+y²+z²=3xyz
(1, 1, 1)

the same tree, unfolded

the disc above squeezes the whole hyperbolic plane into a circle, so everything crowds the boundary. this is the same farey / markov tree drawn in the upper half plane instead — no compression. each ideal triangle is three geodesic arcs (semicircles) meeting on the real axis; the wide triangle at the bottom is the root (1,1,1) and each level splits into two, marching toward the axis. each region is labelled with its full markov triple, and the fill shows the pell translation length log(unit) of its largest number — deep blue near the root, gold far out.

farey/markov tree unfolded in the upper half plane

same tree as the disc, different model. the arcs are the geodesics; the labels are the markov triples, the colour is the pell unit length.