OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
ok[p_] := Reduce[Mod[x^38 - 2, p] == 0, x, Integers] == False; Select[Prime[Range[120]], ok] (* Vincenzo Librandi, Sep 20 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(550) | not exists{x : x in ResidueClassRing(p) | x^38 eq 2}]; // Vincenzo Librandi, Sep 20 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Jan 27 2001
STATUS
approved