cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A216751 Primes p such that x^40 = -2 has no solution mod p.

This page as a plain text file.
%I A216751 #5 Sep 08 2022 08:46:03
%S A216751 5,7,11,13,17,23,29,31,37,41,47,53,61,71,73,79,89,97,101,103,109,113,
%T A216751 127,131,137,149,151,157,167,173,181,191,193,197,199,211,223,229,233,
%U A216751 239,241,263,269,271,277,281,293,311,313,317,331,349,353,359,367,373,383,389,397
%N A216751 Primes p such that x^40 = -2 has no solution mod p.
%C A216751 Complement of A051089 relative to A000040.
%H A216751 Vincenzo Librandi, <a href="/A216751/b216751.txt">Table of n, a(n) for n = 1..1000</a>
%t A216751 ok[p_]:=Reduce[Mod[x^40 + 2, p] == 0, x, Integers] == False;Select[Prime[Range[200]], ok]
%o A216751 (Magma) [p: p in PrimesUpTo(400) | not exists{x : x in ResidueClassRing(p) | x^40 eq -2} ];
%Y A216751 Cf. A000040, A051089.
%K A216751 nonn,easy
%O A216751 1,1
%A A216751 _Vincenzo Librandi_, Sep 16 2012