Ramanujan primes/twins: Difference between revisions
m
→{{header|Wren}}: Wren-trait -> Wren-iterate
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Wren}}: Wren-trait -> Wren-iterate) |
||
Line 391:
=={{header|Wren}}==
{{trans|Phix}}
{{libheader|Wren-
{{libheader|Wren-math}}
{{libheader|Wren-fmt}}
<br>
As calculating the first 1 million Ramanujan primes individually is out of the question, we follow the Phix entry's clever strategy here which brings this task comfortably within our ambit.
<syntaxhighlight lang="ecmascript">import "/
import "/math" for Int, Math
import "/fmt" for Fmt
|