Clarifying Ramsey number R(3,3) proof
The user’s prompt incorrectly states "you can't 2-color K5 without a monochromatic triangle," but the key fact is that K5 can be 2-colored to avoid monochromatic triangles, so 5 is not enough. The correct proof shows R(3,3)=6 by proving any 2-coloring of K6 yields a monochromatic triangle (via pigeonhole on edges from a vertex) and giving a 2-coloring of K5 without monochromatic triangles to show minimality.Finalizing standard R(3,3) proof
The proof completes by showing any 2-coloring of K6 contains a monochromatic triangle via the pigeonhole argument, then presenting the 2-coloring of K5 edges as a 5-cycle/red and diagonals/blue pattern that avoids monochromatic triangles, confirming R(3,3)=6.
Here is one common way to prove (R(3,3)=6), which is the smallest number such that in any red/blue coloring of the edges of the complete graph on 6 vertices there is a monochromatic triangle.
Step 1. Show (R(3,3)\le 6).
Take any 2–coloring of the edges of (K_6) (think “friend”/“stranger” for red/blue). Pick a vertex (v). Among the five edges incident to (v), by the pigeonhole principle at least three must be the same color. Suppose, without loss of generality, that there are three red edges (v!-!a), (v!-!b), (v!-!c).
Look now at the three edges among (a,b,c). If any one of those edges is red, then it forms a red triangle with (v). If none of them is red, then all of (ab), (bc), and (ca) are blue and ({a,b,c}) is a blue triangle. Either way, there is a monochromatic (K_3). This shows that every 2–coloring of (K_6) has a monochromatic triangle, so (R(3,3)\le 6).
In the “party” language: in a group of six people, fix one person (v). Either (v) knows at least three others, or (v) knows at most two others. In the first case, among those three acquaintances of (v), either two know each other (giving three mutual friends with (v)), or none know each other (giving three mutual strangers). A similar argument applies in the second case.
Step 2. Show (R(3,3)>5).
To see that 5 is not enough, we need to exhibit a 2–coloring of (K_5) with no monochromatic triangle. One standard example is to place the five vertices on a circle and color the edges of the 5–cycle red, and the remaining five “chords” blue. The red edges form no triangle because they form a cycle; the blue edges also form a cycle, so there is no blue triangle either. Thus (K_5) can be 2–colored with no monochromatic (K_3), and (R(3,3)) cannot be less than 6.
Combining the two steps shows (R(3,3)=6): six is the smallest number with the property that every 2–coloring of the edges of (K_n) contains a monochromatic triangle.