%I #16 Sep 08 2022 08:44:58
%S 2,17,23,47,89,113,127,137,167,223,233,239,257,263,353,359,383,431,
%T 433,439,449,457,479,503,569,593,599,617,641,647,719,727,743,809,839,
%U 857,863,887,911,919,929,953,977,983,1049,1097,1103,1193,1217,1223,1289
%N Primes p such that x^30 = 2 has a solution mod p.
%C Complement of A059334 relative to A000040. - _Vincenzo Librandi_, Sep 14 2012
%H R. J. Mathar, <a href="/A049562/b049562.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^30 - 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^30 eq 2}]; // _Vincenzo Librandi_, Sep 14 2012
%Y Cf. A000040, A059334.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
|