Re: [R] Modula Generators

2009-12-08 Thread Hans W Borchers
Sam K yahoo.co.uk> writes: > > Hi all, > > Is there function on R for calculating Modula generators? For example for > primes above 100, e.g 157, i want > to know which number generates the group under multiplication mod 157. i.e i > want to find an element whose > order is 156. The problem I

[R] Modula Generators

2009-12-08 Thread Sam K
Hi all, Is there function on R for calculating Modula generators? For example for primes above 100, e.g 157, i want to know which number generates the group under multiplication mod 157. i.e i want to find an element whose order is 156. The problem I occur is that modular arithmetic becomes in