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

A351682
Prime numbers p such that the (p-1)-st Bell number B(p-1) is a primitive root modulo p.
1
2, 3, 11, 13, 17, 19, 29, 31, 47, 53, 71, 103, 113, 127, 131, 137, 139, 149, 173, 179, 181, 191, 211, 233, 239, 241, 251, 257, 263, 269, 293, 317, 347, 367, 379, 401, 431, 439, 449, 461, 503, 509, 523, 541, 557, 587, 607, 617, 619, 647, 653, 683, 691, 733, 743, 761, 773, 797, 821, 823, 827, 853, 859, 881, 919, 929
OFFSET
1,1
COMMENTS
Heuristically, the density of the sequence in the primes should approach Artin's constant: 0.3739558136...
LINKS
EXAMPLE
For n = 2 one has a(2) = 3 since B(2) = 2 is a primitive root modulo 3.
MAPLE
filter:= proc(p) local b;
b:= combinat:-bell(p-1);
numtheory:-order(b, p) = p-1
end proc:
select(filter, [seq(ithprime(i), i=1..200)]); # Robert Israel, May 04 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Luis H. Gallardo, May 04 2022
EXTENSIONS
Corrected by Robert Israel, May 04 2023
STATUS
approved