Prime triangle: Difference between revisions
→{{header|jq}}: simplify
(Dialects of BASIC moved to the BASIC section.) |
(→{{header|jq}}: simplify) |
||
Line 927:
end
else .count += 1
| .
|
.arrang[
| if .canFollow[$ad-1][$ai-1]
then .
| ptrs(.
| .arrang = swap(.arrang; $i; $count-1)
else .
end )
end;
Line 996 ⟶ 990:
[1,1,1,1,1,2,4,7,24,80,216,648,1304,3392,13808,59448,155464,480728,1588162]
</pre>
=={{header|Julia}}==
|