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.

A216772 Primes p such that x^54 = -2 has no solution mod p.

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