50 points · by fanf2 · 8y ago · 18 comments
This really is the best way of explaining where continued fractions come from. The fact that convergents of the continued fraction provide the best rational approximation always seemed mysterious to me in the classical exposition, but it is almost obvious when explained through the Stern-Brocot tree.
This is refreshing in its simplicity.
The logic is slightly tricky. Some day I'll get bored enough to code it up...
Only the natural numbers exist. All the rest is fantasy.