Problem

Source: Belarusian olympiad 2023

Tags: graphs, combinatorics, turan



On the Alphamegacentavra planet there are $2023$ cities, some of which are connected by non-directed flights. It turned out that among any $4$ cities one can find two with no flight between them. Find the maximum number of triples of cities such that between any two of them there is a flight.