{"id":"arxiv/2606.24931","url":"https://arxiv.org/abs/2606.24931","tags":["math.NT"],"score":0,"title":"Binary Trees and Sum of Two Squares","domain":"math.NT","source":"arxiv","authors":["Hongshen Chua"],"reviews":0,"subject":"math.NT","summary":"In this paper, we introduce a matrix-based binary tree that forms the foundation of both the Stern--Brocot and Calkin--Wilf trees. We then explore its connection to continued fractions. Building on this relationship, we provide a path-based representation of Brillhart's proof of the sum of two squares.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-06-22","reactions":{}}