%I #16 Sep 08 2022 08:44:58
%S 2,17,23,31,41,47,89,137,167,191,223,233,257,263,311,353,359,383,401,
%T 431,433,439,457,479,503,521,569,593,599,601,641,647,719,727,761,809,
%U 839,857,863,881,887,919,929,953,977,983,1031,1049,1097,1103,1151,1193
%N Primes p such that x^42 = 2 has a solution mod p.
%C Complement of A059353 relative to A000040. - _Vincenzo Librandi_, Sep 14 2012
%H R. J. Mathar, <a href="/A049574/b049574.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/Pri#smp">Index entries for related sequences</a>
%t ok[p_]:= Reduce[Mod[x^42 - 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[300]], ok] (* _Vincenzo Librandi_, Sep 14 2012 *)
%o (Magma) [p: p in PrimesUpTo(1300) | exists(t){x : x in ResidueClassRing(p) | x^42 eq 2}]; // _Vincenzo Librandi_, Sep 14 2012
%Y Cf. A000040, A059353.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
|