Sturmian word: Difference between revisions
Content added Content deleted
imported>CosmiaNebula (Continued fraction convergents) |
imported>CosmiaNebula (fibonacci word example) |
||
Line 14: | Line 14: | ||
(If the programming language can represent infinite data structures, then that works too.) |
(If the programming language can represent infinite data structures, then that works too.) |
||
A simple check is to do this for the golden ratio <math>\frac{\sqrt{5}-1}{2}</math>, that is, <math>a=5, b=1, m = -1, n = 2 </math>, which would just output the [[Fibonacci word]]. |
|||
Stretch goal: calculate the Sturmian word for other kinds of definable real numbers, such as cubic roots. |
Stretch goal: calculate the Sturmian word for other kinds of definable real numbers, such as cubic roots. |