Skip to content

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 LanguagePrimitiveRoot
PrimitiveRoot(integer) -> integeras compute-engine declares it
Typed signatures
TypePackageApplies
(integer) -> integercompute-enginealways

Domain: Compute engine

Plot

About
CrosswalkWolfram Language