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!)
A256454 a(n) = smallest prime(j) > a(n-1) such that prime(j+1) - prime(j) = 2n, a(0) = 2. 2
2, 3, 7, 23, 89, 139, 199, 293, 1831, 1913, 3089, 3229, 4177, 5531, 5953, 6491, 10799, 11743, 12853, 30593, 33247, 34981, 36389, 81463, 86629, 95651, 103237, 106033, 153191, 181303, 189067, 190409, 288583, 294563, 326369, 399283, 507217, 514967, 570253, 642281, 815729, 841459, 979567 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Bill McEachen and Robert G. Wilson v, Table of n, a(n) for n = 0..180

FORMULA

a(n) = A253899(n) - 2n for n>0.

EXAMPLE

a(4) = 89 since 89=97-8, and this is the first time this gap is seen after smaller gaps of 1,2,4,6 are satisfied.

MATHEMATICA

lst = {2}; p = 2; q = 3; gp = 2; While[ gp != 86, While[q - p != gp, p = q; q = NextPrime@ p]; AppendTo[lst, p]; Print@ p; gp += 2]; lst

CROSSREFS

Cf. A000230, A000101, A253899 (upper end).

Sequence in context: A335366 A002386 A000230 * A133429 A087770 A237359

Adjacent sequences:  A256451 A256452 A256453 * A256455 A256456 A256457

KEYWORD

nonn

AUTHOR

Bill McEachen and Robert G. Wilson v, Mar 29 2015

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 July 11 00:56 EDT 2020. Contains 335600 sequences. (Running on oeis4.)