Factorial, Permutations, Combinations — Notebook Template

Compute n!, nPr, and nCr with clear definitions and quick verification identities (educational).

math combinatorics factorial
All templates

What this template does

This is a ready-to-run GetCalcMaster Notebook starter. Open it into Notebook, run once with defaults, then tweak inputs and keep your assumptions next to the math.

How to use it (recommended)

  1. Open in Notebook.
  2. Set n and r.
  3. Compute n!, nPr, and nCr.
  4. Verify identities like nCr = nPr / r! when appropriate.
  5. Snapshot with interpretation of n and r.
Tip: When a result matters, verify it twice: a unit check + a second method (graph/estimate).

Preview (first cells)

This preview is for readability. The full template loads into Notebook when you click Open.

TEXT
# Factorial / Permutations / Combinations (Educational)

Definitions:
- **n!** = factorial(n)
- **nPr** = permutations = n!/(n−r)!
- **nCr** = combinations = n!/(r!(n−r)!)

GetCalcMaster provides:
- `factorial(n)`
- `npr(n, r)`
- `ncr(n, r)`
MATH
n = 10
MATH
r = 3
MATH
n_fact = factorial(n)
MATH
perm = npr(n, r)
MATH
comb = ncr(n, r)