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.

A216976 Numbers k such that k^5+2 is prime.

This page as a plain text file.
%I A216976 #14 Jan 30 2025 17:32:52
%S A216976 0,1,9,11,15,27,39,51,57,105,149,179,197,219,225,231,275,281,285,299,
%T A216976 315,317,321,335,369,389,401,405,411,419,425,491,509,545,561,587,725,
%U A216976 741,779,789,819,855,879,909,915,977,1007,1019,1059,1115,1145,1161,1199
%N A216976 Numbers k such that k^5+2 is prime.
%H A216976 Robert Israel, <a href="/A216976/b216976.txt">Table of n, a(n) for n = 1..10000</a>
%p A216976 select(t->isprime(t^5+2), [$0..10000]); # _Robert Israel_, Jan 01 2021
%t A216976 lst={}; Do[If[PrimeQ[n^5+2], AppendTo[lst, n]], {n, 0, 10^3}]; lst
%t A216976 Select[Range[0,1200],PrimeQ[#^5+2]&] (* _Harvey P. Dale_, Jan 30 2025 *)
%o A216976 (PARI) select(n->isprime(n^5+2),vector(2000,n,n-1)) /* _Joerg Arndt_, Sep 21 2012 */
%Y A216976 Cf. A067200, A067201.
%K A216976 nonn
%O A216976 1,3
%A A216976 _Michel Lagneau_, Sep 21 2012