The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A060504

Let p be a prime that has a a primitive root between 0 and p that is not also a primitive root of p^2 (A060503); sequence gives smallest such primitive root.