Field card

File: ramsey-seventeen.html Pattern: a Ramsey threshold as a coda: one verified construction for "sixteen can still escape", plus a small interactive proof that the seventeenth guest forces the triangle back. Companion: ramsey-party.html, the playable R(3,3)=6 study this one leans on.

The brief that produced it

A multicolour follow-up to the Ramsey party widget: R(3,3,3)=17. Do not make the reader colour all 136 edges. Show the last safe case and then make the seventeenth person the interaction. The design language should match the existing studio widget, and this should stay a standalone study rather than becoming a production component.

Source of truth

  • The lower bound, 16, is constructed, not asserted. The widget uses the 16 vectors of F_2^4. The edge between vertices a and b is coloured by the colour assigned to the non-zero difference a xor b. The 15 differences are split into three sum-free sets: red {1,2,4,8,15}, blue {3,5,7,10,11}, yellow {6,9,12,13,14}. Every triangle has edge differences x, y, and x xor y, so no triangle can have all three edges in one sum-free class. The page verifies all C(16,3) = 560 triangles at load and throws if any is monochromatic.

  • The upper bound, 17, is the R(3,3)=6 widget turned inside out. Pick any one person in a 17-person party. Their 16 incident edges use three colours, so one colour appears at least six times. Among those six neighbours, either an edge of that same colour completes a triangle with the chosen person, or the remaining two colours alone contain a monochromatic triangle by R(3,3)=6.

Honesty check

The study does not pretend to brute-force all 3^136 colourings of K17; that would be a different object and a terrible widget. Instead it separates the two halves of the theorem: the K16 escape is verified directly inside the artifact, and the K17 impossibility is shown by the clean pigeonhole reduction to the already-playable two-colour case.

The "add 17" mode uses the verified K16 colouring as the last safe party. The reader colours only the 16 new spokes. Once any colour reaches six spokes, the widget finds a same-colour edge already waiting among those six neighbours and fills the forced triangle. The page also verifies the supporting property that every six-vertex subset of the K16 construction contains at least one edge of each colour.

Design choices worth keeping

  • The second widget is a coda, not another game. ramsey-party.html is the human-sized puzzle; this one is the threshold opening wider.

  • Sixteen is arranged as a centered square. A circle with 16 vertices and 120 edges collapses into a hairball. The 4 by 4 plate reads as a constructed object; when the seventeenth guest arrives, the plate shifts left and gives that guest a separate space.

  • The people are anonymous dots. Visible numbers made the picture feel like bookkeeping, but the proof only needs the highlighted pair and the coloured relation families.

  • The seventeenth guest is the only interaction. Click people to colour their new connection red, blue, yellow, or none. That keeps the proof tactile without asking the reader to manage 136 edges.

  • Colour remains state. Red, blue, and yellow are the three relation colours; a filled triangle is not decoration, it is the thing Ramsey theory says cannot be avoided.

  • Thread-back: "why does seventeen force it?" opens the algebraic F_2^4 construction for 16 and the pigeonhole plus R(3,3)=6 proof for 17.

What it teaches the studio

The right follow-up widget is sometimes smaller in interaction than the original. R(3,3)=6 works as a game because 15 edges fit in a hand. R(3,3,3)=17 works as a coda because the reader only needs to feel the threshold: sixteen is the last escape; one more guest turns a careful construction back into inevitability.