Enter the total number of items n and how many you choose r — get the permutations (nPr) and combinations (nCr), the factorials, and full step-by-step working.
n and r must be non-negative whole numbers with n ≥ r.