https://s0.wp.com/latex.php?latex=%5Csum_%7Bj%3D0%7D%5E%7Bp-1%7D+j%5E%7B%28p-1%29%2F2%7D+%5Cleft%28+%5Cfrac%7Bj%7D%7Bp%7D+%5Cright%29+%5Cequiv+-1+%5Cmod+p&bg=ffffff&fg=444444&s=0&c=20201002