A generalization of a necessary and sufficient condition for primality due to Vantieghem.
We examine primitive roots modulo the Fermat number . We show that an odd integer is a Fermat prime if and only if the set of primitive roots modulo is equal to the set of quadratic non-residues modulo . This result is extended to primitive roots modulo twice a Fermat number.
We show that any factorization of any composite Fermat number into two nontrivial factors can be expressed in the form for some odd and , and integer . We prove that the greatest common divisor of and is 1, , and either or , i.e., for an integer . Factorizations of into more than two factors are investigated as well. In particular, we prove that if then and .