OFFSET
1,1
REFERENCES
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 864.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].
EXAMPLE
11 has primitive root 2 and 11+2 = 13 is prime after 11, so 11 is in sequence.
MATHEMATICA
ok[p_] := (p + PrimitiveRoot[p] == NextPrime[p]); Select[Prime[Range[343]], ok] (* Jean-François Alcover, May 03 2011 *)
Transpose[Select[Partition[Prime[Range[400]], 2, 1], #[[2]]-#[[1]] == PrimitiveRoot[ #[[1]]]&]][[1]] (* Harvey P. Dale, Oct 08 2012 *)
CROSSREFS
KEYWORD
nice,nonn
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Dec 22 1999
STATUS
approved