%I #9 Sep 08 2022 08:44:53
%S 11,41,61,71,101,131,151,181,211,241,281,311,331,401,421,431,461,491,
%T 521,541,571,631,661,691,701,751,811,821,881,911,941,971,991,1021,
%U 1031,1051,1061,1151,1171,1181,1201
%N Primes p such that x^5 = 5 has no solution mod p.
%C Complement of A040165 relative to A000040. - _Vincenzo Librandi_, Sep 18 2012
%H Vincenzo Librandi, <a href="/A040167/b040167.txt">Table of n, a(n) for n = 1..1000</a>
%t ok[p_]:= Reduce[Mod[x^5 - 5, p] == 0, x, Integers] == False; Select[Prime[Range[300]], ok] (* _Vincenzo Librandi_, Sep 18 2012 *)
%o (Magma) [p: p in PrimesUpTo(1500) | not exists{x : x in ResidueClassRing(p) | x^5 eq 5} ]; // _Vincenzo Librandi_, Sep 18 2012
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_.
|