On Mon, Jul 25, 2016 at 12:33:18PM +0000, Hulpke,Alexander wrote: > Dear Charles Greathouse, Dear Forum, > > On Jul 6, 2016, at 8:38 PM, Charles Greathouse > <crgreatho...@gmail.com<mailto:crgreatho...@gmail.com>> wrote: > > I'm having trouble getting IsIrreducibleRingElement (and IsPrime) working > on SmallRing elements. For example: > > > Switching rings, elements, versions, and operating systems hasn't helped. > > The built-in irreducibility tests are currently only available for the > integers (and some rings of integers) and polynomial rings over > fields. There is no method for the small rings, which is the reason > for the error message you received.
All elements in a finite ring are either invertible or divisors of zero so in both case are not irreducible nor prime. So it should just return false. Cheers, Bill. _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum