Problem 5
Given positive integers and , find the smallest positive integer such that among any people, either there are people who can be divided into pairs of mutually acquainted people, or there are people who can be divided into pairs of mutually unacquainted people.
Step 3 of 5: Prove the three-person recurrence
Detailed analysis
Take people. If all form a clique, choose of them. If all are isolated, choose of them. Otherwise there are three people with acquainted but unacquainted. Remove these three; the remaining people contain either acquainted pairs or unacquainted pairs. Add in the first case or in the second, proving .