  This paper studies the largest cycles consisted by the quadratic residues
modulo prime numbers. We give some formulae about the maximum length of the
cycles. Especially, the formula for modulo Fermat primes is given.
