OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
pr=42; Select[Prime[Range[200]], MultiplicativeOrder[pr, # ] == #-1 &]
Join[{5, 23, 31, 37}, Select[Prime[Range[200]], MemberQ[ PrimitiveRootList[ #], 42]&]] (* Harvey P. Dale, Nov 15 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved