Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A141526
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A141526 Numbers n such that prime(n)+n^3 is prime. +0
1
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; listen)
OFFSET

0,2

MATHEMATICA

lst={}; Do[p=Prime[n]; If[PrimeQ[p+n^3], AppendTo[lst, n]], {n, 10^3}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 08 2008]

PROGRAM

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

CROSSREFS

Sequence in context: A045960 A028988 A086172 this_sequence A106274 A077633 A006933

Adjacent sequences: A141523 A141524 A141525 this_sequence A141527 A141528 A141529

KEYWORD

nonn

AUTHOR

Alexander R. Povolotsky (pevnev(AT)juno.com), Aug 11 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research