login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141526 Numbers n such that prime(n)+n^3 is prime. 4
1, 2, 4, 6, 24, 34, 36, 66, 78, 86, 96, 100, 104, 114, 116, 120, 130, 144, 152, 156, 162, 182, 204, 228, 230, 258, 264, 276, 324, 356, 386, 394, 402, 416, 420, 428, 434, 444, 480, 520, 552, 582, 584, 606, 612, 632, 666, 678, 680, 696, 726, 728, 730, 732, 794 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

MATHEMATICA

lst={}; Do[p=Prime[n]; If[PrimeQ[p+n^3], AppendTo[lst, n]], {n, 10^3}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 08 2008 *)

PROG

(PARI) j=[]; for(n=1, 3000, if(isprime(prime(n)+n^3), j=concat(j, n))); j

CROSSREFS

Sequence in context: A172451 A086172 A261832 * A226169 A261746 A319575

Adjacent sequences:  A141523 A141524 A141525 * A141527 A141528 A141529

KEYWORD

nonn

AUTHOR

Alexander R. Povolotsky, Aug 11 2008

EXTENSIONS

Offset set to 1 by Michel Marcus, Feb 04 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:08 EDT 2019. Contains 322461 sequences. (Running on oeis4.)