Algorithms to solve it, 1. Modular multiplicative inverse 2. Combinatorics and Permutation
Algorithms to solve it,