login
Primes p such that x^5 = 17 has no solution mod p.
2

%I #12 Sep 08 2022 08:44:53

%S 11,31,41,61,71,131,151,191,211,241,251,271,281,311,331,401,421,431,

%T 461,521,541,571,631,641,661,691,751,761,821,881,911,941,971,1021,

%U 1051,1091,1151,1171,1181,1201,1291,1301,1381,1451,1471

%N Primes p such that x^5 = 17 has no solution mod p.

%C Complement of A040978 relative to A000040. - _Vincenzo Librandi_, Sep 19 2012

%H Vincenzo Librandi, <a href="/A040979/b040979.txt">Table of n, a(n) for n = 1..1000</a>

%t ok[p_]:= Reduce[Mod[x^5 - 17, p] == 0, x, Integers] == False; Select[Prime[Range[300]], ok] (* _Vincenzo Librandi_, Sep 19 2012 *)

%o (Magma) [p: p in PrimesUpTo(1500) | not exists{x : x in ResidueClassRing(p) | x^5 eq 17} ]; // _Vincenzo Librandi_, Sep 19 2012

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_.