OFFSET
1,1
COMMENTS
Differs from A051096 first at the 640th entry, at p=17659, next at p=23059. - R. J. Mathar, Oct 14 2008
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
ok[p_]:= Reduce[Mod[x^18 + 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[400]], ok] (* Vincenzo Librandi, Sep 15 2012 *)
PROG
(PARI) /* see A051071 */
(Magma) [p: p in PrimesUpTo(1410) | exists(t){x : x in ResidueClassRing(p) | x^18 eq - 2}]; // Vincenzo Librandi Sep 15 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Joerg Arndt, Jul 27 2011
STATUS
approved