Combinations and permutations: Difference between revisions

Add Factor
(Add Factor)
Line 666:
comb(1000, 333) = 5776134553147651669777486323549601722339... (235 more digits)
</pre>
 
=={{header|Factor}}==
As with Racket, these operations are built in and Factor has unlimited integers.
<lang factor>USING: math.combinatorics prettyprint ;
 
1000 10 nCk . ! 263409560461970212832400
1000 10 nPk . ! 955860613004397508326213120000</lang>
 
=={{header|Go}}==
1,827

edits