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

A307628
Primes p such that 2 is a primitive root modulo p while 32 is not.
5
11, 61, 101, 131, 181, 211, 421, 461, 491, 541, 661, 701, 821, 941, 1061, 1091, 1171, 1291, 1301, 1381, 1451, 1531, 1571, 1621, 1741, 1861, 1901, 1931, 2131, 2141, 2221, 2371, 2531, 2621, 2741, 2851, 2861, 3011, 3371, 3461, 3491, 3571, 3581, 3691, 3701, 3851, 3931
OFFSET
1,1
COMMENTS
Primes p such that 2 is a primitive root modulo p (i.e., p is in A001122) and that p == 1 (mod 5).
By Artin's conjecture, the number of terms <= N is roughly ((4/19)*C)*PrimePi(N), where C is the Artin's constant = A005596, PrimePi = A000720. Compare: the number of terms of A001122 that are no greater than N is roughly C*PrimePi(N).
LINKS
Eric Weisstein's World of Mathematics, Artin's constant
EXAMPLE
For p = 61, the multiplicative order of 2 modulo 61 is 60, while 32^12 == 2^(5*12) == 1 (mod 61), so 61 is a term.
MAPLE
select(p -> isprime(p) and numtheory:-order(2, p) = p-1,
[seq(i, i=1..10000, 10)]); # Robert Israel, Apr 23 2019
MATHEMATICA
{11}~Join~Select[Prime@ Range[11, 550], And[FreeQ[#, 32], ! FreeQ[#, 2]] &@ PrimitiveRootList@ # &] (* Michael De Vlieger, Apr 23 2019 *)
PROG
(PARI) forprime(p=3, 4000, if(znorder(Mod(2, p))==(p-1) && p%5==1, print1(p, ", ")))
CROSSREFS
Complement of A019358 with respect to A001122.
Cf. also A005596, A000720, A307627.
Sequence in context: A156704 A248874 A073625 * A106993 A066597 A199326
KEYWORD
nonn
AUTHOR
Jianing Song, Apr 19 2019
STATUS
approved