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.

A154935 Numbers n such that n^7-2 is prime.

This page as a plain text file.
%I A154935 #13 Sep 08 2022 08:45:40
%S A154935 7,15,25,87,91,99,199,211,265,337,357,361,367,405,501,511,537,595,627,
%T A154935 685,697,771,805,841,847,861,889,931,939,979,1035,1047,1081,1125,1135,
%U A154935 1177,1225,1231,1287,1315,1321,1387,1425,1497,1501,1627,1741,1795,1807
%N A154935 Numbers n such that n^7-2 is prime.
%H A154935 Vincenzo Librandi, <a href="/A154935/b154935.txt">Table of n, a(n) for n = 1..1000</a>
%t A154935 lst={};Do[p=n^7-2;If[PrimeQ[p],AppendTo[lst,n]],{n,0,7!}];lst
%t A154935 Select[Range[2*10^3], PrimeQ[#^7 - 2] &] (* _Vincenzo Librandi_, Mar 20 2014 *)
%o A154935 (Magma) [n: n in [1..500]|IsPrime(n^7-2)]; // _Vincenzo Librandi_, Nov 26 2010
%o A154935 (PARI) is(n)=isprime(n^7-2) \\ _Charles R Greathouse IV_, Feb 17 2017
%Y A154935 Cf. A028870, A038599, A154831, A154832, A154833, A154834, A154933, A154934.
%K A154935 nonn,easy
%O A154935 1,1
%A A154935 _Vladimir Joseph Stephan Orlovsky_, Jan 17 2009