Special neighbor primes: Difference between revisions

m
m (→‎J: simplify)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,131:
{{libheader|Wren-fmt}}
I assume that 'neighbor' primes means pairs of successive primes.
<syntaxhighlight lang="ecmascriptwren">import "./math" for Int
 
import "./fmt" for Fmt
Anticipating a likely stretch goal.
<syntaxhighlight lang="ecmascript">import "/math" for Int
import "/fmt" for Fmt
 
var max = 1e7 - 1
9,479

edits