OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..49
MATHEMATICA
Select[Prime[Range[PrimePi[200000]]], !MemberQ[PowerMod[Range[#], 54, #], Mod[2, #]] && MemberQ[PowerMod[Range[#], 18, #], Mod[2, #]]&] (* Vincenzo Librandi, Sep 21 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(40000) | not exists{x: x in ResidueClassRing(p) | x^54 eq 2} and exists{x: x in ResidueClassRing(p) | x^18 eq 2}]; // Vincenzo Librandi, Sep 21 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Feb 05 2001
EXTENSIONS
More terms from Vincenzo Librandi, Sep 21 2013
STATUS
approved