In mathematics, Jacobsthal sums are finite sums of Legendre symbols related to Gauss sums. They were introduced by Jacobsthal (1907).
The Jacobsthal sum is given by
where p is prime and () is the Legendre symbol.