Sturmian word: Difference between revisions
m
→{{header|Phix}}
Line 27:
== {{header|Phix}} ==
Rational part translated from Python, quadratic part a modified
<!--(phixonline)-->
<syntaxhighlight lang="Phix">
Line 67:
sequence p = {0, 1},
q = {1, 0}
atom
for i=1 to k do
integer whole = trunc(rem),
|