Post Reply 
Looking for a Primitive Roots program
08-31-2015, 03:29 PM
Post: #6
RE: Looking for a Primitive Roots program
(08-31-2015 02:19 PM)roadrunner Wrote:  
Code:
...
n_to_z_mod_p(n,z,p):=
BEGIN
 return n^z MOD p;
END;
...

Wouldn't the built-in powmod function be much faster?

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Looking for a Primitive Roots program - Joe Horn - 08-31-2015 03:29 PM



User(s) browsing this thread: 5 Guest(s)