Problem

Source: Turkey EGMO TST 2015 P6

Tags: combinatorics



In a party attended by $2015$ guests among any $5$ guests at most $6$ handshakes had been exchanged. Determine the maximal possible total number of handshakes.