TeX source:
Σ_k\dfrac{(O−E)^2}{E}