Problem

Source: New Zealand NZMOC Camp Selection Problems 2010 Juniors 6

Tags: combinatorics



At a strange party, each person knew exactly $22$ others. For any pair of people $X$ and $Y$ who knew one another, there was no other person at the party that they both knew. For any pair of people $X$ and $Y$ who did not know each other, there were exactly six other people that they both knew. How many people were at the party?