OFFSET
1,1
COMMENTS
If Artin's conjecture is true then this sequence is infinite because it contains all primes with primitive root 2.
Conjecture: This sequence has density ~0.548 in the prime numbers.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
71 is a term because the least primitive root of the prime number 71 is 7 and 7 divides 71 - 1 = 70.
MAPLE
filter:= proc(p) local r;
if not isprime(p) then return false fi;
r:= NumberTheory:-PrimitiveRoot(p);
p-1 mod r = 0
end proc:
select(filter, [2, seq(i, i=3..1000, 2)]); # Robert Israel, Aug 31 2023
MATHEMATICA
Select[Prime@Range@100, Mod[# - 1, PrimitiveRoot@#] == 0 &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Giorgos Kalogeropoulos, Aug 31 2022
STATUS
approved