TeX source:
Σ_{(i⋅j)} \dfrac{(O–E)^2}{E}