TeX source:
\dfrac{(O–E)^2}{E}