login
A049557
Primes p such that x^25 = 2 has a solution mod p.
3
2, 3, 5, 7, 13, 17, 19, 23, 29, 37, 43, 47, 53, 59, 67, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 199, 223, 227, 229, 233, 239, 241, 257, 263, 269, 277, 283, 293, 307, 313, 317, 337, 347, 349, 353, 359, 367
OFFSET
1,1
COMMENTS
Complement of A059313 relative to A000040. - Vincenzo Librandi, Sep 14 2012
MATHEMATICA
ok[p_]:= Reduce[Mod[x^25 - 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[100]], ok] (* Vincenzo Librandi, Sep 14 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(400) | exists(t){x : x in ResidueClassRing(p) | x^25 eq 2}]; // Vincenzo Librandi, Sep 14 2012
CROSSREFS
Sequence in context: A040159 A040171 A040974 * A042991 A162338 A339342
KEYWORD
nonn,easy
STATUS
approved