Gottfried Helms schrieb: > ... > The generalizing is that > > for all b and all n > > b^((n-1) mod C) mod n = b^(n-1) mod n > Just a sketch. ... should be more precise / specific. (b>0, n>1, b<>n, also an offset to the cycle should be included, when n is divisible by b ...) Gottfried Helms