Inserting the various matrix elements we can rewrite the previous equation as
$$
\Delta E=\sum_{ai}\langle i| \hat{f}|a \rangle C_{i}^{a}+
\sum_{abij}\langle ij | \hat{v}| ab \rangle C_{ij}^{ab}.
$$
This equation determines the correlation energy but not the coefficients \( C \).