numtheory[primroot] - compute a primitive root
|
Calling Sequence
|
|
primroot(g, n)
primroot(n)
|
|
Parameters
|
|
g
|
-
|
positive integer or 0
|
n
|
-
|
integer greater than 1
|
|
|
|
|
Description
|
|
•
|
The command with(numtheory,primroot) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?