Concepts2
∑MathIntermediate
Permutations and Combinations
Permutations count ordered selections, while combinations count unordered selections.
#permutations#combinations#binomial coefficient+12
∑MathIntermediate
Fast Exponentiation
Fast exponentiation (binary exponentiation) computes a^n using repeated squaring in O(log n) multiplications.
#binary exponentiation#fast power#modular exponentiation+11