This is documentation for Mathematica 8, 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 that specifies whether factorization should be done over Gaussian integers.
  • The Gaussian primes used when GaussianIntegers->True are chosen to have both real and imaginary parts positive.
Factor a polynomial over :
Factor an integer over :
Factor a polynomial over :
In[1]:=
Click for copyable input
Out[1]=
Factor an integer over :
In[2]:=
Click for copyable input
Out[2]=
By default polynomial factorization is performed over the rationals:
This specifies that the factorization should be done over :
By default integer factorization is performed over the integers:
This specifies that the factorization should be done over the Gaussian integers:
A number prime over the integers may not be prime over the Gaussian integers:
New in 2