General::modp
The value of the Modulus option is expected to be an integer:
This shows a valid Modulus specification in Together:
The value of the Modulus option in Together is expected to be a prime number:
You can use PrimeQ to determine if a number is prime:
This shows a valid value for the Modulus option in Together: