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!)
A239413 Numbers n such that n^5-5 is prime. 6
4, 12, 16, 42, 102, 124, 132, 144, 184, 232, 274, 288, 306, 316, 336, 352, 406, 438, 478, 582, 606, 622, 706, 742, 754, 762, 814, 832, 916, 922, 964, 984, 996, 1026, 1044, 1072, 1086, 1096, 1156, 1174, 1204, 1258, 1272, 1366, 1408, 1416, 1428, 1432, 1456 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Note that all the numbers in this sequence are even.
There is no sequence "Numbers n such that n^4-4 is prime." since n^4 - 4 = (n^2 + 2)(n^2 - 2). - Michael B. Porter, Mar 18 2014
LINKS
EXAMPLE
4^5-5 = 1019 is prime. Thus, 4 is a member of this sequence.
MATHEMATICA
Select[Range[1500], PrimeQ[#^5-5]&] (* Harvey P. Dale, Dec 30 2019 *)
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, Feb 17 2017
CROSSREFS
Sequence in context: A348342 A348273 A253122 * A351893 A327295 A361418
KEYWORD
nonn,easy
AUTHOR
Derek Orr, Mar 17 2014
STATUS
approved

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 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)