As defined in this article, an ordered pair $ (X,Y) $ of disjoint subsets of the vertices of a graph $ G $ with $ \vert X \vert = \vert Y \vert =2 $, is called an odd pair if the number of edges with one endpoint in $ X $ and another in $ Y $ is odd. Denote the number of odd pairs in $ G $ by $ s(G) $ (Note that if $ X \neq Y$, then $(X, Y) \neq (Y, X)$).
If $ G $ is the star graph $ S_{n} $, it is easily seen that $s(G) = 0$.
If $ G $ is the graph of order $n$ with the sequence of degrees $ \lbrace n-2, 2, 1, 1, \ldots ,1 \rbrace $, I have proved that $s(G) = 4(n-3)^{2}$. (Here, $G$ is very similar to star graph.)
Now, I guess that for every tree $T$ of order $n$ such that $T$ is not star graph, $s(T) \geq 4(n-3)^{2}$. I have tested this by computer search, but I couldn't prove that. Can anyone help? I think using induction can lead to the proof.
Thanks in advance.