The ifactor command
factors an integer into its prime factors.
(Note that a prime factor of a Gaussian integer is only
determined up to a factor of ±1 or ±i.)
ifactor takes
n, an integer or a list of integers.
ifactor(n) returns n in factored form (or a list of the
integers in factored form).