Example
List unordered pairs in lexicographic order.
highlighted = computed this step
Step 1 — Items
Set up the exact small combinatorics values.
items, choose((A, B, C, D), 2)
Step 2 — Combination
Compute the highlighted combinatorics value.
combination(A, B)
Step 3 — Combination
Compute the highlighted combinatorics value.
combination(A, C)
Step 4 — Combination
Compute the highlighted combinatorics value.
combination(A, D)
Step 5 — Combination
Compute the highlighted combinatorics value.
combination(B, C)
Step 6 — Combination
Compute the highlighted combinatorics value.
combination(B, D)
Step 7 — Combination
Compute the highlighted combinatorics value.
combination(C, D)
combinatorics-search
Every row is intentionally ordered and pinned to the lesson specification.