Metallic MOS: Difference between revisions

Cmloegcmluin (talk | contribs)
Cmloegcmluin (talk | contribs)
Line 610: Line 610:
=== Application: finding tree level ===
=== Application: finding tree level ===


The sum of the terms of any continued fraction in the Stern-Brocot tree is equal to its level in the tree. For example, the fifth level of the tree consists of 1/5, 2/7, 3/8, and 3/7:
The sum of the terms of any continued fraction in the Stern-Brocot tree is equal to its level in the tree. For example, the fifth level of the tree consists of <span><math>\frac 15</math></span>, <span><math>\frac 27</math></span>, <span><math>\frac 38</math></span>, and <span><math>\frac 37</math></span>:


<math>
<math>