Calkin-Wilf sequence: Difference between revisions
→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
Thundergnat (talk | contribs) m (Automated syntax highlighting fixup (second round - minor fixes)) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 2,368:
83116/51639 is at index: 123456789
</pre>
=={{header|V (Vlang)}}==
{{trans|Go}}s.
<syntaxhighlight lang="v (vlang)">import math.fractions
import math
import strconv
Line 2,483:
83116/51639 is the 123,456,789th term of the sequence.
</pre>
=={{header|Wren}}==
{{libheader|Wren-rat}}
|