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.

A239343 Numbers n such that n^5+5 is prime.

Original entry on oeis.org

0, 2, 36, 42, 56, 72, 98, 122, 134, 156, 162, 182, 212, 302, 338, 386, 486, 492, 576, 642, 666, 672, 698, 708, 722, 734, 782, 828, 846, 878, 882, 888, 896, 938, 962, 974, 986, 992, 1052, 1062, 1104, 1106, 1148, 1182, 1224, 1244, 1266, 1284, 1304, 1338, 1394
Offset: 1

Views

Author

Derek Orr, Mar 16 2014

Keywords

Comments

Note that all numbers in this sequence are even.
There is no sequence "Numbers n such that n^4+4 is prime" because of the factorization n^4 + 4 = (n^2 + 2n + 2)*(n^2 - 2n + 2). - Michael B. Porter, based on observation by Derek Orr, Mar 17 2014

Examples

			2^5+5 = 37 is prime. Thus, 2 is a member of this sequence.
36^5+5 = 60466181 is prime. Thus, 36 is a member of this sequence.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0,1500],PrimeQ[#^5+5]&] (* Harvey P. Dale, Feb 03 2015 *)
  • PARI
    is(n)=isprime(n^5+5) \\ Charles R Greathouse IV, Jun 06 2017
  • Python
    import sympy
    from sympy import isprime
    {print(n) for n in range(10**4) if isprime(n**5+5)}