Answer
The Coulomb energy is proportional to $Z(Z-1)$.
Work Step by Step
Each proton in a nucleus interacts electrically with every other proton. The number of pairs of protons is $Z(Z-1) / 2,$ where $Z$ is the number of protons. The Coulomb energy is, therefore, proportional to $Z(Z-1)$.