After an introductory overview of a property of the symmetry in the ordered sequence of the quadratic residues modulo n, a formula to count them is provided, as well as to count only those coprime to n. The related Maple procedures are also provided. They are tested with infinite loops of random integers.
Dr. John May
Prof. Josef Betten
Giulio Bonfissuto
Michael Carter
Maplesoft
Czeslaw Koscielny
Dr. Robert Lopez
Roland Engdahl
John Cosgrave
Michael Monagan