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!)
A322669 a(n) is the least prime(k+n-1) satisfying k > 0 and prime(k+n-1) < prime(k) + prime(k+1). 1
7, 17, 23, 41, 47, 59, 67, 73, 83, 103, 107, 109, 137, 151, 167, 179, 181, 193, 197, 233, 239, 251, 257, 271, 281, 283, 313, 317, 349, 359, 379, 383, 409, 421, 431, 433, 443, 449, 467, 491, 503, 523, 571, 587, 593, 599, 607, 613, 617, 643, 647, 659, 661, 677, 683, 733, 739 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

LINKS

Seiichi Manyama, Table of n, a(n) for n = 3..10000

MATHEMATICA

Array[Block[{k = 1, p}, While[Set[p, Prime[k + # - 1]] >= Total@ Prime@ {k, k + 1}, k++]; p] &, 57, 3] (* Michael De Vlieger, Jan 01 2019 *)

PROG

(PARI) a(n) = {my(p=2, k=1); while(!(prime(k+n-1) < p+nextprime(p+1)), p = nextprime(p+1); k++); prime(k+n-1); } \\ Michel Marcus, Dec 23 2018

CROSSREFS

Cf. A322668.

Sequence in context: A246717 A295706 A265792 * A115591 A265810 A026349

Adjacent sequences:  A322666 A322667 A322668 * A322670 A322671 A322672

KEYWORD

nonn

AUTHOR

Seiichi Manyama, Dec 23 2018

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 15 20:35 EDT 2021. Contains 342977 sequences. (Running on oeis4.)