login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A241045
Primes having primitive roots 2, 3, 5, and 7.
1
173, 293, 677, 773, 797, 907, 1277, 1637, 1747, 2083, 2357, 2477, 2693, 2957, 3533, 3797, 4133, 4157, 4373, 4493, 4603, 4637, 4877, 4973, 5333, 5477, 5717, 5813, 5923, 6053, 6173, 6317, 6547, 6653, 6763, 7013, 7517, 8237, 8573, 8693, 8837, 9173, 9533
OFFSET
1,1
MATHEMATICA
fQ[p_, n_] := MultiplicativeOrder[p, n] == n - 1; Select[Prime[Range[1200]], fQ[2, #] && fQ[3, #] && fQ[5, #] && fQ[7, #] &]
Select[Prime[Range[1200]], SubsetQ[PrimitiveRootList[#], {2, 3, 5, 7}]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 16 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 16 2014
STATUS
approved