Wagstaff primes: Difference between revisions

J draft (just the task, for now)
(→‎{{header|Wren}}: Simplified a bit in light of recently added note but only a smidgen quicker.)
(J draft (just the task, for now))
Line 107:
61 79 101 127 167 191 199 313 347 701 1709 2617 3539 5807
</pre>
=={{header|J}}==
<syntaxhighlight lang=J> x:(,.f)p:I.1 p:(f=.3%~1+2^])p:i.14
3 3
5 11
7 43
11 683
13 2731
17 43691
19 174763
23 2796203
31 715827883
43 2932031007403</lang>
=={{header|Python}}==
<syntaxhighlight lang="python">""" Rosetta code Wagstaff_primes task """
6,951

edits