OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
ok[p_]:= Reduce[Mod[x^5 - 2, p] == 0, x, Integers] == False; Select[Prime[Range[300]], ok] (* Vincenzo Librandi, Sep 18 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(1300) | forall{x: x in ResidueClassRing(p) | x^5 ne 2}]; // Bruno Berselli, Sep 12 2012
(Magma) [p: p in PrimesUpTo(1500) | not exists{x : x in ResidueClassRing(p) | x^5 eq 2} ]; // Vincenzo Librandi, Sep 18 2012
(PARI) forprime(p=2, 10^3, if(#polrootsmod(x^5-2, p)==0, print1(p, ", "))) \\ Joerg Arndt, Jul 16 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved