Justin Walker on Tue, 15 Jun 2004 22:09:22 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: question about primitive roots



On Jun 15, 2004, at 12:45, Mc Laughlin, James wrote:

Hello everyone,

I have a question about primitive roots.
I have a prime p and I want a primitive root g.

I know that znprimroot(79) will return a primitive root for the prime p
= 79 in the form Mod(3,79), meaning that if p=79, g=3 is a primitive
root.

Is there anyway I can extract this "3" from the "Mod(3,79)" and set
"g=3;"

Check 'lift()' (via "?lift").

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*