https://s0.wp.com/latex.php?latex=%5Cdisplaystyle++1_%7Bn+%3D+a%5C+%28q%29%7D+%3D+%5Cfrac%7B1%7D%7B%5Cphi%28q%29%7D+%5Csum_%7B%5Cchi%5C+%28q%29%7D+%5Coverline%7B%5Cchi%28a%29%7D+%5Cchi%28n%29&bg=ffffff&fg=000000&s=0