General::modgp
Details
-
- This message is generated when the value of the Modulus option in the indicated function is expected to be a Gaussian prime number.
- A Gaussian prime number is an integer that cannot be factored using complex numbers with integer real and imaginary parts.
- You can find out if a number is a Gaussian prime number using PrimeQ with the GaussianIntegers->True option.
- Off[message] switches off the message; On[message] switches it on. For example: Off[General::modgp].
Examples
Basic Examples (1)
The value of the Modulus option is not a Gaussian prime number:
FactorTerms[22 I + 31 x ^ 2, x, Modulus -> 17]The integer 17 can be factored using Gaussian integers:
PrimeQ[17, GaussianIntegers -> True]FactorInteger[17, GaussianIntegers -> True]This shows a valid value for the Modulus option in this example:
FactorTerms[22 I + 31 x ^ 2, x, Modulus -> 19]