PrimitiveRootList
gives a list of primitive roots of n.
Details
- A primitive root is a generator for the multiplicative group of integers modulo n relatively prime to n.
- PrimitiveRootList[n] returns an empty list if n is not 2,4, an odd prime power, or twice an odd prime power.
Examples
Wolfram Research (2014), PrimitiveRootList, Wolfram Language function, https://reference.wolfram.com/language/ref/PrimitiveRootList.html.
Text
Wolfram Research (2014), PrimitiveRootList, Wolfram Language function, https://reference.wolfram.com/language/ref/PrimitiveRootList.html.
CMS
Wolfram Language. 2014. "PrimitiveRootList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PrimitiveRootList.html.
APA
Wolfram Language. (2014). PrimitiveRootList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PrimitiveRootList.html