Skip to content

PrimitiveRoot

Finds the smallest primitive root modulo n.

$ wo 'PrimitiveRoot[7]'
3