OFFSET
1,1
COMMENTS
Primes not in A243805
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
7 is prime and the sixth powers mod 7 are 0 and 1, so 7 is in the sequence.
MAPLE
select(p -> isprime(p) and nops([msolve(x^6-6, p)])=0, [seq(2*j+1, j=1..10^3)]);
MATHEMATICA
Select[Table[2j+1, {j, 1, 10^3}], PrimeQ[#] && Solve[x^6-6 == 0, x, Modulus -> #] == {}&] (* Jean-François Alcover, Apr 27 2019 *)
PROG
(PARI) isok(p) = isprime(p) && !ispower(Mod(6, p), 6); \\ Michel Marcus, Apr 27 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Jun 11 2014
STATUS
approved