Partition function P: Difference between revisions

(→‎{{header|jq}}: Recursive)
(→‎Recursive: 41.35s)
Line 726:
| partitionsM
| .memo[$n];
</lang>
Using gojq, `6666 | partitionsP` produces
 
# Stretch goal:
<pre>
Using gojq, `6666 | partitionsP` produces
193655306161707661080005073394486091998480950338405932486880600467114423441282418165863
</prelang>
Using gojq, the above program takes 41.35 seconds (u+s) on a 3GHz Mac Mini to produce:<pre>
193655306161707661080005073394486091998480950338405932486880600467114423441282418165863</pre>
 
=={{header|Julia}}==
2,471

edits