Ramanujan primes/twins: Difference between revisions
→{{header|Wren}}: Regularized the preamble.
(julia example) |
(→{{header|Wren}}: Regularized the preamble.) |
||
Line 255:
=={{header|Wren}}==
{{trans|Phix}}
{{libheader|Wren-trait}}
{{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
<lang ecmascript>import "/trait" for Stepped, Indexed
import "/math" for Int, Math
|