English

Build an Increasing Subsequence Witness

Compare predecessor choices while keeping original index order and allowing skips.

Adult planning suggestion: about 9–12 · Logic & rule checking

Players
3; adult facilitator
Time
15–25 minutes
Materials
Printed player sheet or copied paper, pencil and small counters.

Prepare

Lay out cards 3, 1, 4, 2, 5 at indices 1–5. Start each length at one and each predecessor blank.

Follow the rule

At index i inspect earlier values smaller than its value. Add one to the largest eligible length and remember one predecessor attaining it.

Check each step

Do not sort the cards. A subsequence may skip positions but cannot turn backward; equal values are not strictly increasing.

Worked example

Trace from the best ending index back through predecessors, then reverse the list. Check that the values and indices both increase.

Finish and adapt

Finish with a length and one witness, then try to find another witness of the same length. Accept ties.

Purpose, observation and provenance

Within this activity: Compare predecessor choices while keeping original index order and allowing skips.

Ask the checker to point to the move or calculation that decides the outcome.

Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.

Longest increasing subsequence — Rule or mathematical background for our original paper exercise. The small example and end condition are ours.

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.

Build an Increasing Subsequence Witness · Player materials

Lay out cards 3, 1, 4, 2, 5 at indices 1–5. Start each length at one and each predecessor blank.

At index i inspect earlier values smaller than its value. Add one to the largest eligible length and remember one predecessor attaining it.

Do not sort the cards. A subsequence may skip positions but cannot turn backward; equal values are not strictly increasing.

Index12345
Value31425
Step / cellDecision / valueRule checked
________________________
________________________
________________________
________________________

Build an Increasing Subsequence Witness · Host key — keep separate

Lengths [1,1,2,2,3]. Examples indices 2,4,5 (1,2,5) or 1,3,5 (3,4,5).

Lead and check

Lay out cards 3, 1, 4, 2, 5 at indices 1–5. Start each length at one and each predecessor blank.

At index i inspect earlier values smaller than its value. Add one to the largest eligible length and remember one predecessor attaining it.

Do not sort the cards. A subsequence may skip positions but cannot turn backward; equal values are not strictly increasing.

Trace from the best ending index back through predecessors, then reverse the list. Check that the values and indices both increase.

Finish with a length and one witness, then try to find another witness of the same length. Accept ties.

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.

Duplicate values change the comparison · Player audit

Independent row [2,2,3,1]. Find the longest strict increasing subsequence, then find the longest nondecreasing one. Name the indices, not only the values.

Input / stepResultReason
________________________
________________________
________________________
________________________
________________________
________________________

Duplicate values change the comparison · Host audit

Strict length 2, for instance indices 1,3. Nondecreasing length 3, indices 1,2,3. Using both 2s needs the second comparison.

Related activities

Activity library · Longest Affordable Window

Duplicate values change the comparison

Independent row [2,2,3,1]. Find the longest strict increasing subsequence, then find the longest nondecreasing one. Name the indices, not only the values.