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”).

Primes having primitive roots 2 and 3.
2

%I #4 Apr 16 2014 18:00:51

%S 5,19,29,53,101,139,149,163,173,197,211,269,293,317,379,389,461,509,

%T 557,653,677,701,773,797,821,859,907,941,1061,1109,1123,1229,1277,

%U 1291,1301,1373,1483,1493,1637,1733,1747,1901,1949,1973,1987,1997,2069,2083

%N Primes having primitive roots 2 and 3.

%H T. D. Noe, <a href="/A241043/b241043.txt">Table of n, a(n) for n = 1..1000</a>

%t fQ[p_, n_] := MultiplicativeOrder[p, n] == n - 1; Select[Prime[Range[400]], fQ[2, #] && fQ[3, #] &]

%Y Cf. A001122, A019334, A213052.

%K nonn

%O 1,1

%A _T. D. Noe_, Apr 16 2014