Example
Enumerate tours with fixed start city A.
highlighted = computed this step
Step 1 — Fixed start
Set up the exact small combinatorics values.
startA
Step 2 — Tour
Compute the highlighted combinatorics value.
tour(A, B, C, D, A)
Step 3 — Tour
Compute the highlighted combinatorics value.
tour(A, B, D, C, A)
Step 4 — Tour
Compute the highlighted combinatorics value.
tour(A, C, B, D, A)
Step 5 — Tour
Compute the highlighted combinatorics value.
tour(A, C, D, B, A)
Step 6 — Tour
Compute the highlighted combinatorics value.
tour(A, D, B, C, A)
Step 7 — Tour
Compute the highlighted combinatorics value.
tour(A, D, C, B, A)
combinatorics-search
Every row is intentionally ordered and pinned to the lesson specification.