Four-Corner Rectangle Totals
Build a two-dimensional prefix table and audit rectangle totals.
Adult planning suggestion: about 9–12 · Logic & rule checking
- Players
- 2–4; cooperate, then exchange the checker role
- Time
- 15–25 minutes
- Materials
- Paper, pencil and the supplied player sheet; keep the host sheet separate.
Prepare
Use the supplied 3×3 value table with row 1 at the TOP for this ledger, unlike bottom-labelled puzzle boards. Draw a second 4×4 prefix table with zero row 0 and zero column 0.
Follow the rule
Build P(r,c)=value(r,c)+P(r−1,c)+P(r,c−1)−P(r−1,c−1), working top to bottom and left to right. The subtraction removes overlap counted twice.
Check each step
For an inclusive rectangle rows r 1–r 2 and columns c 1–c 2, use P(r 2,c 2)−P(r 1−1,c 2)−P(r 2,c 1−1)+P(r 1−1,c 1−1). Mark four corners before computing.
Worked example
Calculate rows 2–3, columns B–C. First produce the full prefix table, then compare the four-corner result against directly adding the four selected cells.
Finish and adapt
Finish when the two totals agree and boundary queries work with the zero row/column. Do not use the row-1-at-bottom convention from other kits here; it reverses the intended prefix direction.
Purpose, observation and provenance
Within this activity: Build a two-dimensional prefix table and audit rectangle totals.
Ask the checker to name a particular rule and show the recorded evidence. Speed alone is not the goal.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
USACO Guide · 2D Prefix Sums — Mechanism background only. Our small paper instance and role rotation are separate; no endorsement or unique-solution claim.
Secondary practice: Cooperation and explaining a check.
For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.
Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Four-Corner Rectangle Totals · Player materials
Use the supplied 3×3 value table with row 1 at the TOP for this ledger, unlike bottom-labelled puzzle boards. Draw a second 4×4 prefix table with zero row 0 and zero column 0.
Build P(r,c)=value(r,c)+P(r−1,c)+P(r,c−1)−P(r−1,c−1), working top to bottom and left to right. The subtraction removes overlap counted twice.
For an inclusive rectangle rows r 1–r 2 and columns c 1–c 2, use P(r 2,c 2)−P(r 1−1,c 2)−P(r 2,c 1−1)+P(r 1−1,c 1−1). Mark four corners before computing.
| Top-down row / 自上行 | A | B | C |
|---|---|---|---|
| 1 | 1 | 2 | 0 |
| 2 | 3 | 1 | 4 |
| 3 | 0 | 2 | 5 |
| Step / cell | Decision / value | Rule checked |
|---|---|---|
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
| ________ | ________ | ________ |
Four-Corner Rectangle Totals · Host key — keep separate
Prefix rows without zero margin: 1,3,3 / 4,7,11 / 4,9,18. Query=18−3−4+1=12=1+4+2+5.
Lead and check
Use the supplied 3×3 value table with row 1 at the TOP for this ledger, unlike bottom-labelled puzzle boards. Draw a second 4×4 prefix table with zero row 0 and zero column 0.
Build P(r,c)=value(r,c)+P(r−1,c)+P(r,c−1)−P(r−1,c−1), working top to bottom and left to right. The subtraction removes overlap counted twice.
For an inclusive rectangle rows r 1–r 2 and columns c 1–c 2, use P(r 2,c 2)−P(r 1−1,c 2)−P(r 2,c 1−1)+P(r 1−1,c 1−1). Mark four corners before computing.
Calculate rows 2–3, columns B–C. First produce the full prefix table, then compare the four-corner result against directly adding the four selected cells.
Finish when the two totals agree and boundary queries work with the zero row/column. Do not use the row-1-at-bottom convention from other kits here; it reverses the intended prefix direction.
Classroom: ten trios for 30 learners; one kit per trio. Rotate operator, recorder and checker. Age guidance is a planning suggestion; prerequisite support may be necessary.