Pierpont primes: Difference between revisions

Content deleted Content added
Peak (talk | contribs)
Peak (talk | contribs)
→‎{{header|jq}}: one too many debug statements
Line 1,426:
# where .p is prime and .m and .n are the corresponding powers of 2 and 3
| def pp:
debug. as [$maxm, $maxn]
| [ ({p2:1, m:0},
(foreach range(0; $maxm) as $m (1; . * 2; {p2: ., m: ($m + 1)}))) as $a