why my basis is devided by root of 2 pi root of pi and root of pi

how they got this definition
\frac{1}{\pi}||f||^2=\frac{a_0^2}{2}+\sum_{n=1}^{\ infty}a_n^2+b_n^2
?
its not the standart foorier definition