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.

Original entry on oeis.org

0, 1, 9, 11, 15, 27, 39, 51, 57, 105, 149, 179, 197, 219, 225, 231, 275, 281, 285, 299, 315, 317, 321, 335, 369, 389, 401, 405, 411, 419, 425, 491, 509, 545, 561, 587, 725, 741, 779, 789, 819, 855, 879, 909, 915, 977, 1007, 1019, 1059, 1115, 1145, 1161, 1199
Offset: 1

Views

Author

Michel Lagneau, Sep 21 2012

Keywords

Crossrefs

Programs

  • Maple
    select(t->isprime(t^5+2), [$0..10000]); # Robert Israel, Jan 01 2021
  • Mathematica
    lst={}; Do[If[PrimeQ[n^5+2], AppendTo[lst, n]], {n, 0, 10^3}]; lst
    Select[Range[0,1200],PrimeQ[#^5+2]&] (* Harvey P. Dale, Jan 30 2025 *)
  • PARI
    select(n->isprime(n^5+2),vector(2000,n,n-1)) /* Joerg Arndt, Sep 21 2012 */