login
A216742
Primes p such that x^22 = -2 has no solution mod p.
2
5, 7, 13, 23, 29, 31, 37, 47, 53, 61, 67, 71, 79, 89, 101, 103, 109, 127, 149, 151, 157, 167, 173, 181, 191, 197, 199, 223, 229, 239, 263, 269, 271, 277, 293, 311, 317, 349, 353, 359, 367, 373, 383, 389, 397, 419, 421, 431, 439, 461, 463, 479, 487, 503, 509, 541
OFFSET
1,1
COMMENTS
Complement of A051080 relative to A000040.
LINKS
MATHEMATICA
ok[p_] := Reduce[Mod[x^22 + 2, p] == 0, x, Integers] == False; Select[Prime[Range[100]], ok]
PROG
(Magma) [p: p in PrimesUpTo(600) | forall{x: x in ResidueClassRing(p) | x^22 ne -2}]; // Bruno Berselli, Sep 20 2012
(PARI) select(x->!ispower(Mod(-2, x), 22), primes(100)) \\ Michel Marcus, Mar 19 2023
CROSSREFS
Sequence in context: A165815 A216738 A216774 * A216744 A216748 A216768
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 15 2012
STATUS
approved