login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065994 a(n) = prime(prime(n) - n). 1
2, 2, 3, 5, 13, 17, 29, 31, 43, 67, 71, 97, 107, 109, 131, 157, 181, 191, 223, 233, 239, 269, 281, 313, 359, 379, 383, 401, 409, 431, 503, 523, 569, 571, 619, 631, 659, 691, 719, 751, 787, 797, 857, 859, 881, 883, 971, 1039, 1061, 1063, 1091, 1117, 1123 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) = A065311(n-2) for 3 < n <= 10000. - Georg Fischer, Oct 19 2018

LINKS

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

FORMULA

a(n) = A000040(A014689(n)). - Reinhard Zumkeller, Aug 06 2003

MAPLE

A065994:=n->ithprime(ithprime(n)-n): seq(A065994(n), n=1..100); # Wesley Ivan Hurt, Jan 21 2017

MATHEMATICA

Table[Prime[Prime[n]-n], {n, 60}] (* Harvey P. Dale, Sep 04 2011 *)

PROG

(PARI) { for (n=1, 1000, a=prime(prime(n) - n); write("b065994.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 06 2009

CROSSREFS

Cf. A000040, A014689, A065311.

Sequence in context: A089541 A065843 A111264 * A152446 A265789 A055937

Adjacent sequences:  A065991 A065992 A065993 * A065995 A065996 A065997

KEYWORD

nonn,easy

AUTHOR

Reinhard Zumkeller, Dec 10 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 September 27 08:39 EDT 2021. Contains 347689 sequences. (Running on oeis4.)