%I #9 Sep 08 2022 08:44:53
%S 3,5,11,13,17,19,29,37,41,43,53,59,61,67,83,97,101,107,109,131,137,
%T 139,149,157,163,173,179,181,193,197,211,227,229,241,251,269,277,283,
%U 293,307,313,317,331,347,349,373
%N Primes p such that x^4 = 2 has no solution mod p.
%C Complement of A040098 relative to A000040. - _Vincenzo Librandi_, Sep 17 2012
%H Vincenzo Librandi, <a href="/A040100/b040100.txt">Table of n, a(n) for n = 1..1000</a>
%t ok[p_]:= Reduce[Mod[x^4 - 2, p] == 0, x, Integers] == False;Select[Prime[Range[100]], ok] (* _Vincenzo Librandi_, Sep 17 2012 *)
%o (Magma) [p: p in PrimesUpTo(500) | not exists{x : x in ResidueClassRing(p) | x^4 eq 2} ]; // _Vincenzo Librandi_, Sep 17 2012
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_.
|