Let
,
odd. To find a quadratic non-residue, compute continuously
,
,
,
,
. One can quickly compute
from an algorithm due to Schoof, but one gets stuck at
.
The idea: in primality testing, we want to know if
is a field, so we embed it into
; this ring has enough structure to pull out a nice algorithm. Assume that
, and we try only to compute
. Now we embed in
. Consider
. Observe that
in
, so
is a
th root of unity.
Assume that . In this case,
is a fourth root of unity. But
is also a fourth root, so
where
is the `real' fourth root of unity. Consider
: observe that
for any
. For suppose
If , then you cannot argue
. If
, then it is possible that
is an eighth root or a sixteenth root or so on. Suppose that
modulo
is an eighth root, for example. Then
for some factor
of
and
odd. But
is even, so it cannot be an odd power, so
will give either a linear factor (in which case we are done) or a product of quadratic factors
or the products similar to
and
.
Let be a quadratic factor of
. Now if
, then
can be factored and we are done. Suppose
Now try all over again now with replacing
; the bad case will be when we have
is introspective for
for a large number of
. Here we get stuck, but this should be impossible.
Remarks.
Back to the
main index
for Future directions in algorithmic number theory.