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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064269 Numbers k such that prime(k) - k is prime. 12
3, 4, 6, 8, 10, 14, 16, 18, 28, 30, 42, 44, 50, 54, 66, 68, 76, 84, 90, 94, 110, 144, 148, 154, 168, 174, 178, 192, 196, 214, 220, 242, 264, 266, 268, 278, 280, 282, 294, 304, 308, 336, 346, 348, 354, 358, 360, 370, 376, 380, 382, 384, 390, 400, 402, 408, 414 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..1000

EXAMPLE

n=54: prime(54) - 54 = 197, a prime.

MATHEMATICA

Select[ Range[ 415 ], PrimeQ[ Prime[ # ] - # ] & ]

PROG

(PARI) j=[]; for(n=1, 500, if(isprime(prime(n)-n), j=concat(j, n))); j

(PARI) { n=0; for (m=1, 10^9, if (isprime(prime(m) - m), write("b064269.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 10 2009

CROSSREFS

Cf. A014689, A064270.

Sequence in context: A024182 A301752 A173339 * A260485 A120150 A262892

Adjacent sequences:  A064266 A064267 A064268 * A064270 A064271 A064272

KEYWORD

easy,nonn

AUTHOR

Jason Earls, Sep 23 2001

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 August 24 22:41 EDT 2019. Contains 326314 sequences. (Running on oeis4.)