USING: math.combinatorics prettyprint ; 1000 10 nCk . ! 263409560461970212832400 1000 10 nPk . ! 955860613004397508326213120000