Calculate the number of permutations and combinations for r items in a set. Plus, learn permutations formulas and steps to solve.