This is inline $\left\{\frac{1}{n^2}\right\}$ but this is displayed $\int_0^1\frac{x^4(1-x)^4}{1+x^2}\,dx =\frac{22}{7}-\pi$ centred on its own line.