Build the Largest Safe Set and Prove It Is Best
A maximum problem needs two certificates: a construction that reaches the proposed size and a drawer argument that makes every larger size impossible.
All sets on this page use distinct values, each at most once; all range endpoints are included. A divisibility conflict means one of two different selected values divides the other exactly. “I found a large example” is only half a proof.
1. Construction
Build a legal set of size M.
2. Upper bound
Partition all candidates into M drawers so a legal set uses at most one object from each.
Give a maximum proof both certificates
Certificate A
A legal set with 33 elements proves that the maximum is at least 33.
Certificate B
A partition into 33 drawers, with at most one legal choice per drawer, proves that the maximum is at most 33.
Checkpoint
Need a hint? Start here
A construction and an upper bound answer different questions.
Show the reasoning
A safe set of size 33 proves the maximum is at least 33. A proof that every safe set has size at most 33 makes the maximum exactly 33.
Build the worked example’s safe set
Move the starting odd number
Selected odd numbers
Checkpoint for the fixed set35,37,…,99 (even if you changed the slider)
Need a hint? Start here
For odd numbers, a larger divisible value is at least triple the smaller.
Show the reasoning
Select the 33 odd values from 35 to 99. Their smallest possible odd multiple is 3×35=105, outside the range. Thus the selection has no divisibility conflicts.
Build the worked example’s 33-drawer upper bound
Eleven chain drawers
Any two numbers inside one chain have a divisibility relationship. A safe set can choose at most one value from each chain.
Twenty-two singleton drawers
Count the partition
Upper-bound checkpoint
Need a hint? Start here
Each divisibility chain allows at most one selection.
Show the reasoning
Eleven chains contain 28 of the 50 odd values. The 22 remaining singleton drawers give 33 drawers in total. Every safe set uses at most one per drawer.
Join the two halves into a complete proof
Try a proposed selection size
The completed original proof
Proof checkpoint
Need a hint? Start here
Do not stop after finding one good example.
Show the reasoning
The construction reaches 33. The 33-drawer upper bound rules out 34. Together these prove both parts of an exact maximum.
Complete Guided Practice 2 with fixed-gap chains
| Chain | First values | Length | Safe alternating choices | Last selected value |
|---|
Guided-practice checkpoint
Need a hint? Start here
Pair neighboring positions within each step-4 chain.
Show the reasoning
The chain lengths are 498,497,497,497. Each pair of adjacent positions allows at most one choice; an unpaired end allows one extra. Each chain contributes 249, giving 996. Alternating achieves it.
Use a general fixed-gap safe-set laboratory
Choose a range and forbidden difference
One maximum construction
| Chain start | Remainder | Length | Choose | Preview |
|---|
Laboratory checkpoint
Need a hint? Start here
Separate values by their remainder modulo the forbidden difference.
Show the reasoning
For 1–30 and difference 5 there are five chains of length 6. Three alternating choices per chain give 15. The same pairing proof gives 996 for the larger example.
Force a divisibility pair with odd-part chains
General interval 1 through N
Odd-part chain drawers
Test 23 transfer checkpoint
Need a hint? Start here
Repeatedly divide by 2 until an odd number remains.
Show the reasoning
All values with the same odd part form a divisibility chain. For 1–80 there are 40 chains, so 41 force a pair. For 1–100, 51 force a pair; the upper half of either interval is a largest safe set.
Use constructions to make equal-sum groups
Use each number exactly once. Split 1–16 into four groups of four numbers each, each sum 34. Split 1–15 into five groups of three numbers each, each sum 24. Both the group size and the sum must match.
Divide 1–16 into four groups
Every group must total 34.
Divide 1–15 into five groups
Every group must total 24.
Construction checkpoint
Need a hint? Start here
Check group size and group sum separately.
Show the reasoning
The sum of 1–16 is 136, so four groups need sum 34 and four members each. The sum of 1–15 is 120, so five groups need sum 24 and three members each. Complementary numbers help balance the groups. After checking your own construction, the separate worked review provides examples without changing your boards.
Try a fresh problem
Choose from 1–24 while avoiding a difference of 6. What is the largest safe set size?
This fresh problem has its own checkpoint. Your written explanation is saved for comparison and is not automatically graded.
Worked explanation for the fresh problem
The six step-6 chains each have four positions. Each allows at most two choices, giving 12. Choose positions 1 and 3 in every chain, for example 1–6 and 13–18.
Safe-set proof workshop
Need a hint? Start here
Revisit the mission connected to each question.
Show the reasoning
Answers:at least M;at most M;35;33;28;996;41;34. A valid construction supplies a lower bound on the maximum; a partition into pairwise-conflicting drawers supplies an upper bound. For exact difference4, pair adjacent positions in each step-4chain.
Exit ticket and certificate
Safe-Set Construction & Proof Architect
This certificate recognizes
for building extremal constructions, partitioning candidates into chains, and proving exact maximum safe-set sizes.
Lesson 23.3 completed
Need a hint? Start here
Solve each item without using the answer shown in an earlier example.
Show the reasoning
Answers:33;34;20;61;24. Four step-4chains in1–40each have10positions and permit5choices. In1–120there are60odd-part chains, so61force divisibility. The sum1+…+15=120divided into five equal groups gives24.