login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172058 Prime numbers p such that every prime divisor of p-1 is a primitive root modulo p. 3
3, 5, 19, 163, 379, 419, 827, 907, 1427, 1787, 1979, 1987, 2083, 2243, 2339, 2539, 2659, 2699, 3083, 3643, 3659, 4723, 5147, 5443, 5563, 5779, 6203, 6299, 6547, 6619, 6803, 6947, 7043, 7283, 7499, 7547, 7883, 7907, 8219, 8387, 8539, 8563, 8627, 8923 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence is probably infinite. If so, then there are infinitely many primes for which 2 is a primitive root (A001122).
LINKS
MATHEMATICA
m = 1; s = {}; While[Prime[m] < 10000, m = m + 1; p = Prime[m]; pf = FactorInteger[p - 1]; L = Length[pf]; j = 0; While[j < L, j = j + 1; q = First[pf[[j]]]; If[MultiplicativeOrder[q, p] == p - 1, , j = L + 1]; If[j == L, s = {s, p}, ] ] ]; s = Flatten[s]
CROSSREFS
Cf. A001122.
Sequence in context: A294382 A201108 A291920 * A303937 A062577 A144743
KEYWORD
nonn
AUTHOR
Emmanuel Vantieghem, Jan 24 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 23:17 EDT 2024. Contains 371767 sequences. (Running on oeis4.)