
\[\sum_{n\leq x}\phi\left(n\right)=\frac{3}{{\pi}^{2}}x^{2}+O\left(x\ln x\right).\]