On May 2, 10:15=A0am, The Qurqirish Dragon <qurqiri...@[EMAIL PROTECTED]
> wrote:
> On May 2, 10:03 am, chan <chalon...@[EMAIL PROTECTED]
> wrote:
>
> > What should be done to find these values?
>
> Particularly since the base is so small, it would be easiest to just
> calculate the values explicitly (4 mod 5, 4^2 mod 5, ...) until until
> you get a repeat. There can only be at most 5 values - since that is
> all the values any set of integers modulo 5 can have. A clever person
> will not wait for a repeat
It depends on the definition of easy. I take "easiest" to mean "with
least effort".
In that case, the easiest method for any right thinking person would
be to recognize
that 4 =3D -1 mod 5 and that -1 to any integer power can take on only
2 values: 1 or -1.


|