A239343 Numbers n such that n^5+5 is prime.
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
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.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
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)}
Comments