Field card

File: ramsey-party.html Pattern: forced global structure from local choices you don't control — Ramsey R(3,3)=6, the party problem. Two Byrne colours are the two relations (red = acquainted, blue = strangers); a forced monochromatic triangle is filled flat in its colour. The-eye-can't-shortcut-it made into a theorem you can try, by hand, to beat — and can't. Companions: arcade/capture.html (two colours, a goal, a proven optimum); the Truchet "a local rule forces a global property" theme.

The brief that produced it

Ramsey R(3,3)=6 as a studio study and a quiet game. One idea: among any 6 people, 3 are mutual acquaintances or 3 are mutual strangers — always; at 5 you can dodge it. Let the reader colour the edges red/blue and try to avoid a single-colour triangle, then prove the impossibility by exhaustive search. Two honest colours; the impossibility must be computed, not asserted.

Source of truth

  • R(3,3) = 6, verified live by exhaustive search inside the widget. The "best possible colouring" button enumerates all 2^(n choose 2) two-colourings and reports the minimum number of monochromatic triangles: 0 for K5 (a triangle-free colouring exists — it shows you one) and 2 for K6 (Goodman's bound — zero is impossible). Confirmed in-browser: K5 → 0, K6 → 2.

  • Monochromatic triangles in the current colouring are detected and filled on every click, so the forced triangle is a thing you watch appear, not a claim.

Honesty check

The headline isn't taken on faith: the impossibility at 6 is computed by brute force (32,768 colourings for K6) and the widget will not show zero there because zero does not exist. The minimum it does find — 2 — is itself an honest, slightly surprising refinement (Goodman: K6 forces at least two mono triangles, not just one). The pentagon-plus-pentagram triangle-free colouring at 5 is likewise found, not drawn from memory.

Design choices worth keeping

  • Colour is the notation, literally the two relations. Red edge = acquainted, blue = strangers; a red triangle is three mutual friends, a blue one three mutual strangers. No legend needed beyond the words.

  • You fail with your own hands. Click edges trying to avoid a triangle at 6; the fill keeps appearing. The proof lands because the exhaustive button shows even the optimum can't reach zero.

  • 5-vs-6 toggle is the whole idea — controlled comparison, change only the count, watch possible become impossible (the same move as the one-block rule toggle in the arcade).

  • Accessible by construction: sr-only telling of the problem and both outcomes; an exhaustive-search button that states the result in words; meaning survives without colour (the readout names the triangles).

  • Thread-back: "why is six the exact tipping point?" opens the one-line pigeonhole proof (a vertex has 5 edges → 3 share a colour → triangle either way) and the explosion of later Ramsey numbers.

What it teaches the studio

The other emergence studies show structure appearing; this one shows structure that cannot be avoided — forced by counting alone, no matter how cleverly you choose. It's the cleanest marriage yet of the studio's two loves: a Byrne figure where colour is the argument, and the verify-before-frame ethic made literal — the impossibility is brute-forced in front of you, and the honest minimum (2, not 1) is the detail the check turned up.