On 2017-05-13 17:14:31 +0000, Richard Outerbridge said:

Is there an algebraic simplification of x = ( y mod a ) mod b,

with y given, a an odd prime, and a co-prime to b?

I know, bad form. Perhaps the simplest form might be:

x = ( y mod 3 ) mod 2

?

__outer

--- SoupGate-Win32 v1.05

* Origin: fsxNet Usenet Gateway (21:1/5)