[go: up one dir, main page]

login
A239343
Numbers n such that n^5+5 is prime.
2
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,2
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
LINKS
EXAMPLE
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.
MATHEMATICA
Select[Range[0, 1500], PrimeQ[#^5+5]&] (* Harvey P. Dale, Feb 03 2015 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n**5+5)}
(PARI) is(n)=isprime(n^5+5) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
Sequence in context: A256060 A096513 A037418 * A058517 A328963 A081310
KEYWORD
easy,nonn
AUTHOR
Derek Orr, Mar 16 2014
STATUS
approved