GaussInt
GIfactors
Gaussian integer factorization
Calling Sequence
Parameters
Description
Examples
GIfactors(n)
n
-
Gaussian integer
The GIfactors function returns the Gaussian integer factorization of the Gaussian integer n.
The result is returned in the form [u,[[p1,ⅇ1],...,[pm,ⅇm]] where n=up1ⅇ1...pmⅇm, pi is a primary prime integer, ei is its exponent (multiplicity) and u is one of four units.
withGaussInt:
GIfactors0
0,
GIfactors72+100I
−I,1+I,4,−3−2I,1,−3+8I,1
GIfactors1574+368I
I,1+I,2,1+2I,2,1−4I,1,5−2I,1,−7+2I,1
See Also
GIfacset
GIfactor
Download Help Document