In math, there is a “theorem on friends and strangers,” also known as the Ramsey theory. It posits that in a party of six people, there will always be three people who are all friends, or three people ...