Legendre symbol
From Elliptic Curve Crypto
Legendre symbols
The Legendre symbol of an integer a over an odd prime p is defined
Euler’s criterion
By Fermat’s little theorem we have
and if a is not divisible by the odd prime p, then
To be continued ...