Euler's criterion
Euler's criterion states that for an odd prime p and an integer a not divisible by p, a^((p−1)/2) is congruent modulo p to the Legendre symbol of a.
Euler's criterion states that for an odd prime p and an integer a not divisible by p, a^((p−1)/2) is congruent modulo p to the Legendre symbol of a.