Prime triplets: Difference between revisions
Content added Content deleted
(Initial FutureBasic task solution added) |
(→J: add) |
||
Line 682: | Line 682: | ||
1030 IF I*I > P THEN RETURN |
1030 IF I*I > P THEN RETURN |
||
1040 GOTO 1010</syntaxhighlight> |
1040 GOTO 1010</syntaxhighlight> |
||
=={{header|J}}== |
|||
<syntaxhighlight lang="j">(#~ (2 6 *./@:= }. - {.)"1) 3 ]\ i.&.(p:inv) 5500</syntaxhighlight> |
|||
=={{header|jq}}== |
=={{header|jq}}== |