OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[PrimePi[400]]], ! MemberQ[PowerMod[Range[#], 4, #], Mod[12, #]] &] (* T. D. Noe, Sep 13 2012 *)
ok[p_]:= Reduce[Mod[x^4 - 12, p] == 0, x, Integers] == False; Select[Prime[Range[100]], ok] (* Vincenzo Librandi, Sep 17 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(400) | forall{x: x in ResidueClassRing(p) | x^4 ne 12}]; // Bruno Berselli, Sep 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved