(MAGMAMagma) [p: p in PrimesUpTo(500) | exists(t){x : x in ResidueClassRing(p) | x^39 eq 2}]; // Vincenzo Librandi, Sep 14 2012
(MAGMAMagma) [p: p in PrimesUpTo(500) | exists(t){x : x in ResidueClassRing(p) | x^39 eq 2}]; // Vincenzo Librandi, Sep 14 2012
editing
approved
approved
editing
proposed
approved
editing
proposed
Complement of A059350 relative to A000040. - Vincenzo Librandi, Sep 14 2012
ok[p_]:= Reduce[Mod[x^39 - 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[100]], ok] (* Vincenzo Librandi, Sep 14 2012 *)
(MAGMA) [p: p in PrimesUpTo(500) | exists(t){x : x in ResidueClassRing(p) | x^39 eq 2}]; // Vincenzo Librandi, Sep 14 2012
nonn,easy
approved
editing
_N. J. A. Sloane (njas(AT)research.att.com)_.
<a href="/Sindx_index/Pri.html#smp">Index entries for related sequences</a>
R. J. Mathar, <a href="/A049571/b049571.txt">Table of n, a(n) for n = 1..1000</a>
<a href="/Sindx_Pri.html#smp">Index entries for related sequences</a>
nonn,new
nonn
R. J. Mathar, <a href="http://research.att.com/~njas/sequences/b049571
nonn,new
nonn