login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239343 Numbers n such that n^5+5 is prime. 2

%I #21 Jun 06 2017 14:36:45

%S 0,2,36,42,56,72,98,122,134,156,162,182,212,302,338,386,486,492,576,

%T 642,666,672,698,708,722,734,782,828,846,878,882,888,896,938,962,974,

%U 986,992,1052,1062,1104,1106,1148,1182,1224,1244,1266,1284,1304,1338,1394

%N Numbers n such that n^5+5 is prime.

%C Note that all numbers in this sequence are even.

%C 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

%H Harvey P. Dale, <a href="/A239343/b239343.txt">Table of n, a(n) for n = 1..1000</a>

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

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

%t Select[Range[0,1500],PrimeQ[#^5+5]&] (* _Harvey P. Dale_, Feb 03 2015 *)

%o (Python)

%o import sympy

%o from sympy import isprime

%o {print(n) for n in range(10**4) if isprime(n**5+5)}

%o (PARI) is(n)=isprime(n^5+5) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A067201, A049441.

%K easy,nonn

%O 1,2

%A _Derek Orr_, Mar 16 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)