RosettaCodeData/Task/Combinations-and-permutations/Factor/combinations-and-permutations.factor

5 lines
133 B
Factor
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
USING: math.combinatorics prettyprint ;
1000 10 nCk . ! 263409560461970212832400
1000 10 nPk . ! 955860613004397508326213120000