PrimitiveRoot
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.
The smallest primitive root modulo n (a generator of the multiplicative group of integers mod n), or undefined if none exists (which happens unless n is 1, 2, 4, pᵏ, or 2pᵏ for an odd prime p). The sign of n is ignored, and PrimitiveRoot(1) is 0. Undefined for n = 0.
Wolfram Language
PrimitiveRootPrimitiveRoot(integer) -> integeras compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
(integer) -> integer | compute-engine | always |
Plot
About
| Crosswalk | Wolfram Language |
|---|