Partition function P: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: Recursive)
(→‎Recursive: 41.35s)
Line 726: Line 726:
| partitionsM
| partitionsM
| .memo[$n];
| .memo[$n];
</lang>
Using gojq, `6666 | partitionsP` produces


# Stretch goal:
<pre>
6666 | partitionsP
193655306161707661080005073394486091998480950338405932486880600467114423441282418165863
</pre>
</lang>
Using gojq, the above program takes 41.35 seconds (u+s) on a 3GHz Mac Mini to produce:<pre>
193655306161707661080005073394486091998480950338405932486880600467114423441282418165863</pre>


=={{header|Julia}}==
=={{header|Julia}}==