This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

GaussianIntegers

GaussianIntegers
is an option for FactorInteger, PrimeQ, Factor and related functions which specifies whether factorization should be done over Gaussian integers.
  • With GaussianIntegers->False, factorization is done over the ordinary ring of integers Z.
  • With GaussianIntegers->True, factorization is done over the ring of integers with i adjoined Z[i].
  • The Gaussian primes used when GaussianIntegers->True are chosen to have both real and imaginary parts positive.
  • The first entry in the list given by FactorInteger with GaussianIntegers->True may be -1 or -I.
New in 2