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.

A216750 Primes p such that x^38 = -2 has no solution mod p.

This page as a plain text file.
%I A216750 #7 Sep 08 2022 08:46:03
%S A216750 5,7,13,23,29,31,37,47,53,61,71,79,101,103,109,127,149,151,157,167,
%T A216750 173,181,191,197,199,223,229,239,263,269,271,277,293,311,317,349,359,
%U A216750 367,373,383,389,397,419,421,431,439,457,461,463,479,487,503,509,541,557,571,599
%N A216750 Primes p such that x^38 = -2 has no solution mod p.
%C A216750 Complement of A051088 relative to A000040.
%H A216750 Vincenzo Librandi, <a href="/A216750/b216750.txt">Table of n, a(n) for n = 1..1000</a>
%t A216750 ok[p_]:=Reduce[Mod[x^38 + 2, p] == 0, x, Integers] == False;Select[Prime[Range[200]], ok]
%o A216750 (Magma) [p: p in PrimesUpTo(600) | not exists{x : x in ResidueClassRing(p) | x^38 eq -2} ];
%Y A216750 Cf. A000040, A051088.
%K A216750 nonn,easy
%O A216750 1,1
%A A216750 _Vincenzo Librandi_, Sep 16 2012