OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
ok[p_] := Reduce[Mod[x^54 + 2, p] == 0, x, Integers] == False; Select[Prime[Range[200]], ok]
PROG
(Magma) [p: p in PrimesUpTo(600) | not exists{x: x in ResidueClassRing(p) | x^54 eq -2}];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 16 2012
STATUS
approved