The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A154834 Primes p such that p^5 - 2 is also prime. 9
3, 13, 31, 139, 181, 211, 229, 271, 523, 619, 751, 853, 1063, 1483, 1699, 2791, 3361, 3463, 3541, 3769, 4051, 4201, 4801, 4861, 4903, 5521, 5689, 5701, 6163, 6211, 6763, 6823, 6949, 7621, 8059, 8269, 8389, 8419, 8563, 8689, 8713, 9001, 9103, 9319, 10303 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes in A154833.
LINKS
EXAMPLE
3^5 - 2 = 241 is prime,
13^5 - 2 = 371291 is prime, ...
MATHEMATICA
lst={}; Do[p=n^5-2; If[PrimeQ[p], If[PrimeQ[n], AppendTo[lst, n]]], {n, 0, 7!}]; lst
Select[Prime[Range[1300]], PrimeQ[#^5-2]&] (* Harvey P. Dale, Feb 09 2019 *)
CROSSREFS
Sequence in context: A034050 A107689 A339945 * A159047 A219971 A073337
KEYWORD
nonn
AUTHOR
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 May 30 19:14 EDT 2024. Contains 372974 sequences. (Running on oeis4.)