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.

A261537 Primes p such that p^7 + 2 is also prime.

This page as a plain text file.
%I A261537 #17 Sep 08 2022 08:46:13
%S A261537 53,449,521,653,881,983,1031,1451,1571,1733,1889,2129,2729,3191,4259,
%T A261537 5879,6173,7499,7829,8861,9743,9923,10271,10313,11423,11903,12041,
%U A261537 12149,12263,12329,12641,12893,14591,14723,14771,14813,15401,16493,17783,18713,19259
%N A261537 Primes p such that p^7 + 2 is also prime.
%C A261537 Subsequence of primes of A216980. - _Michel Marcus_, Aug 24 2015
%e A261537 53^7 + 2 = 1174711139839 is a prime.
%p A261537 A261537:=n->`if`(isprime(n) and isprime(n^7+2), n, NULL): seq(A261537(n), n=1..5*10^4); # _Wesley Ivan Hurt_, Apr 14 2017
%t A261537 Select[Prime[Range[2500]], PrimeQ[#^7 + 2] &]
%o A261537 (Magma) [p: p in PrimesUpTo(20000) | IsPrime(p^7+2)];
%o A261537 (PARI)  first(m)=my(v=vector(m));i=1;for(j=1,m,while(!isprime((prime(i)^7)+2),i++);v[j]=prime(i);i++);v; \\ _Anders Hellström_, Aug 24 2015
%Y A261537 Cf. A000040, A216980.
%Y A261537 Subsequence of A007528.
%Y A261537 Cf. similar sequences listed in A261536.
%K A261537 nonn,easy
%O A261537 1,1
%A A261537 _Vincenzo Librandi_, Aug 24 2015