Jacobsthal sum explained

In mathematics, Jacobsthal sums are finite sums of Legendre symbols related to Gauss sums. They were introduced by .

Definition

The Jacobsthal sum is given by

\phin(a)=\summ\bmod\left(\dfrac{m(mn+a)}{p}\right)

where p is prime and is the Legendre symbol