The document discusses methods for determining if a number is a primitive root of a prime number p and finding all primitive roots of p. To test if a is a primitive root of p: calculate as/pi mod p for each prime factor pi of φ(p), where φ is Euler's totient function; a is a primitive root if none of the results are 1. All primitive roots of p can be found by calculating am mod p for all m coprime to p-1, since these will generate all remainders from 1 to p-1. Examples are provided to demonstrate these methods.