OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
ok[p_] := Reduce[Mod[x^8 + 2, p] == 0, x, Integers] == False; Select[Prime[Range[100]], ok]
PROG
(Magma) [p: p in PrimesUpTo(500) | forall{x: x in ResidueClassRing(p) | x^8 ne -2}]; // Bruno Berselli, Sep 20 2012
(PARI) select(x->!ispower(Mod(-2, x), 8), primes(100)) \\ Michel Marcus, Mar 19 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 15 2012
STATUS
approved