Ramanujan primes/twins: Difference between revisions

m
→‎{{header|Wren}}: Wren-trait -> Wren-iterate
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Wren-trait -> Wren-iterate)
Line 391:
=={{header|Wren}}==
{{trans|Phix}}
{{libheader|Wren-traititerate}}
{{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 "/traititerate" for Stepped, Indexed
import "/math" for Int, Math
import "/fmt" for Fmt
9,476

edits