Jump to content

Prime triplets: Difference between revisions

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

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.