%I #13 Jun 19 2023 04:24:14
%S 3,7,13,17,19,23,31,37,43,47,53,61,67,73,79,83,97,103,107,109,113,127,
%T 137,139,151,157,163,167,173,193,197,223,227,229,233,257,263,271,277,
%U 283,293,307,313,317,331,337,347,349,353,367,373,383,397
%N Primes p such that x^6 = 5 has no solution mod p.
%C Complement of A040998 relative to A000040. - _Vincenzo Librandi_, Sep 19 2012
%H Vincenzo Librandi, <a href="/A040999/b040999.txt">Table of n, a(n) for n = 1..1000</a>
%t ok[p_]:= Reduce[Mod[x^6 - 5, p] == 0, x, Integers] == False; Select[Prime[Range[100]], ok] (* _Vincenzo Librandi_, Sep 19 2012 *)
%o (Magma) [p: p in PrimesUpTo(500) | not exists{x : x in ResidueClassRing(p) | x^6 eq 5} ]; // _Vincenzo Librandi_, Sep 19 2012
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
|