numtheory[pprimroot] - compute a pseudo primitive root
|
Calling Sequence
|
|
pprimroot(g, n)
pprimroot(n)
|
|
Parameters
|
|
g
|
-
|
positive integer or 0
|
n
|
-
|
integer greater than 1
|
|
|
|
|
Description
|
|
•
|
The function pprimroot(g, n) computes the next primitive root larger than g or, if n does not have primitive roots, computes a number which is not a root of order of any of the factors of .
|
•
|
The command with(numtheory,pprimroot) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?