Frustrated Triangles
A triple of vertices in a graph is a \emph{frustrated triangle} if it induces an odd number of edges. We study the set of possible number of frustrated triangles in a graph on vertices. We prove that about two thirds of the numbers in cannot appear in , and we characterise the graphs with . More precisely, our main result is that, for each , contains two interlacing sequences such that for all , where the gaps are and . Moreover, if and only if can be obtained from a complete bipartite graph by flipping exactly edges/nonedges. On the other hand, we show, for all sufficiently large, that if , then where is asymptotically best possible with for even and for odd. Furthermore, we determine the graphs with the minimum number of frustrated triangles amongst those with vertices and edges.