Double Twin Primes: Difference between revisions

m
→‎{{header|Raku}}: technically these are
m (→‎{{header|Raku}}: Add a Raku example)
m (→‎{{header|Raku}}: technically these are)
Line 14:
<br>
=={{header|Raku}}==
Cousin twin primes:
<syntaxhighlight lang="raku" line>sub dt { $^p, $p+2, $p+6, $p+8 }
.&dt.say for (^1000).grep: { all .&dt».is-prime };</syntaxhighlight>
10,327

edits