In an undirected graph with 2024 vertices (not necessarily bipartite) between any three vertices have at least two edges. Prove that the graph contains a perfect matching (from 1012 edges).
To be honest, I have already tried everything I could, in the lectures I was told mainly about theorems that can be applied to bipartite graphs (Hall’s Theorem, König’s Theorem), but the problem says that the graph is not necessarily bipartite. Maybe we need to somehow rely on the fact that this graph probably could be a complete graph?
HINT:
Let $M$ be a matching that leaves at least $2$ vertices $u$ and $v$ unmatched. [The number of vertices left unmatched in this graph $H$ must always be even--why is that].
Next let $u'v'$ be any edge in this matching $M$.
Then the condition that there are $2$ edges between any $3$ vertices gives us the following: either $uv$ form an edge in $H$ [and so $M +\{uv\}$ is also a matching but w one additional edge] or both $uu'$ and $vv'$ form an edge in $H$ [and so $(M -\{u'v'\})+\{uu',vv'\}$ is also a matching in $H$ w one additional edge]...
Can you finish from here.