login
Indices n such that the difference between the n-th prime and the next larger prime is 200.
26

%I #14 Apr 30 2024 05:26:22

%S 20226285,23169912,25441017,26172843,27841352,29657240,30714253,

%T 31998495,33419255,36637876,37995065,38182448,38758272,39019864,

%U 40022755,40296600,40339473,40985817,41293073,42116899,45474429

%N Indices n such that the difference between the n-th prime and the next larger prime is 200.

%H Jinyuan Wang, <a href="/A116497/b116497.txt">Table of n, a(n) for n = 1..1000</a>

%F A204807(n) = prime(a(n)). - _M. F. Hasler_, Jan 19 2012

%e p(20226286) - p(20226285) = 378044179 - 378043979 = 200.

%o (PARI) lista(nn) = {my(i=0, q=2); forprime(p=3, nn, i++; if(p-q==200, print1(i, ", ")); q=p); } \\ _Jinyuan Wang_, Jan 29 2020

%Y Cf. A116493, A116495, A116496.

%Y The actual primes are given in A204807. - _M. F. Hasler_, Jan 19 2012

%Y See also A052187 and references therein.

%K nonn

%O 1,1

%A _Zak Seidov_, Feb 18 2006