[go: up one dir, main page]

login
A243768
Primes p such that 6 is not a 6th power mod p.
2
7, 11, 13, 17, 19, 31, 37, 41, 43, 59, 61, 67, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 131, 137, 151, 157, 179, 181, 193, 199, 211, 223, 227, 229, 233, 251, 257, 271, 277, 281, 283, 331, 347, 349, 353, 367, 373, 397, 401, 419, 421, 433, 439, 443, 449, 457, 463, 467, 487, 491, 521, 523, 541, 547, 563, 569
OFFSET
1,1
COMMENTS
Primes not in A243805
LINKS
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
Cf. A243805.
Sequence in context: A168079 A296928 A358743 * A141636 A214786 A176834
KEYWORD
nonn
AUTHOR
Robert Israel, Jun 11 2014
STATUS
approved