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.

A051079 Primes p such that x^20 = -2 has a solution mod p.

This page as a plain text file.
%I A051079 #18 Sep 08 2022 08:44:59
%S A051079 2,3,19,43,59,67,73,83,89,107,113,139,163,179,227,233,251,257,283,307,
%T A051079 337,347,353,379,419,443,467,499,523,547,563,571,577,587,593,617,619,
%U A051079 643,659,683,739,787,827,859,883,907,937,947,971,1019,1033,1049,1097,1123
%N A051079 Primes p such that x^20 = -2 has a solution mod p.
%C A051079 Complement of A216741 relative to A000040. - _Vincenzo Librandi_, Sep 16 2012
%H A051079 Vincenzo Librandi, <a href="/A051079/b051079.txt">Table of n, a(n) for n = 1..1000</a>
%t A051079 ok[p_]:= Reduce[Mod[x^20 + 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[400]], ok] (* _Vincenzo Librandi_, Sep 15 2012 *)
%o A051079 (PARI) /* see A051071 */
%o A051079 (Magma) [p: p in PrimesUpTo(1150) | exists(t){x : x in ResidueClassRing(p) | x^20 eq - 2}]; // _Vincenzo Librandi_, Sep 15 2012
%K A051079 nonn,easy
%O A051079 1,1
%A A051079 _N. J. A. Sloane_
%E A051079 More terms from _Joerg Arndt_, Jul 27 2011