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 inaccurate when 
dealing with large numbers.
Thanks for any help given.

Sam



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to