I have faced a problem and do not know how to prove the following.
In a graph with no cycles with length $4$, prove that $$m \leqslant n \times \frac{\sqrt{4n-3} + 1}{4}$$ where $m$ is the number of edges and n is the number of vertices.
I tried to count number of paths with length $2$ and relate it to $m$, but couldn't consider the graph has no cycle with length $4$ in the equation.
Can anyone please help me?