OFFSET
1,3
LINKS
T. D. Noe, Table of n, a(n) for n=1..10000
EXAMPLE
a(5)=2 because the primitive roots of 11 are 2, 6, 7 and 8, two of which are prime.
MATHEMATICA
Table[p=Prime[n]; g=Select[Prime[Range[n-1]], MultiplicativeOrder[ #, p]==p-1&]; Length[g], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 14 2008
STATUS
approved