Achilles numbers: Difference between revisions

Content added Content deleted
m (→‎{{header|Raku}}: a few minor style tweaks)
(J: simplification)
Line 51: Line 51:
Implementation:
Implementation:


<lang J>achilles=: (*/ .>&1 * (1 = +./) * 1 e. 2&|)@(1{__&q:)"0
<lang J>achilles=: (*/ .>&1 * 1 = +./)@(1{__&q:)"0
strong=: achilles@(5&p:)</lang>
strong=: achilles@(5&p:)</lang>