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!)
A059786 Smallest prime after 2*(n-th prime). 5
5, 7, 11, 17, 23, 29, 37, 41, 47, 59, 67, 79, 83, 89, 97, 107, 127, 127, 137, 149, 149, 163, 167, 179, 197, 211, 211, 223, 223, 227, 257, 263, 277, 281, 307, 307, 317, 331, 337, 347, 359, 367, 383, 389, 397, 401, 431, 449, 457, 461, 467, 479, 487, 503, 521 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Andrew Howroyd, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = A117928(n,1) for n>1. - Reinhard Zumkeller, Apr 03 2006

EXAMPLE

n=17, 18, p(17)=59, p(18)=61, after 118 and 122 the next prime is 127, so a(17)=a(18)=127.

MAPLE

with(numtheory): [seq(nextprime(2*ithprime(k)), k=1..256)];

MATHEMATICA

NextPrime/@(2*Prime[Range[60]]) (* Harvey P. Dale, May 03 2019 *)

PROG

(PARI) a(n) = nextprime(2*prime(n)+1); \\ Michel Marcus, Sep 21 2017

CROSSREFS

Cf. A055496, A006992.

Sequence in context: A124598 A096215 A144742 * A300097 A166574 A163846

Adjacent sequences:  A059783 A059784 A059785 * A059787 A059788 A059789

KEYWORD

nonn

AUTHOR

Labos Elemer, Feb 22 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 26 11:08 EDT 2020. Contains 337354 sequences. (Running on oeis4.)