cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A116496 Numbers k such that difference between k-th prime and next prime is 100.

This page as a plain text file.
%I A116496 #22 Aug 20 2024 16:05:39
%S A116496 33608,66762,100978,124508,125049,172619,202315,233905,256422,286306,
%T A116496 306691,320569,326694,334412,362134,374275,382591,395155,414640,
%U A116496 428335,440270,467181,493060,511698,518536,555912,561795,567479,590434,592581
%N A116496 Numbers k such that difference between k-th prime and next prime is 100.
%H A116496 Harvey P. Dale, <a href="/A116496/b116496.txt">Table of n, a(n) for n = 1..1000</a>
%H A116496 <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>
%F A116496 A050434(n) = prime(a(n)). - _R. J. Mathar_, Apr 30 2024
%e A116496 p(33609) - p(33608) = 396833 - 396733 = 100.
%t A116496 PrimePi/@Transpose[Select[Partition[Prime[Range[600000]],2,1],#[[2]]-#[[1]] == 100&]][[1]] (* _Harvey P. Dale_, Sep 22 2013 *)
%o A116496 (PARI) lista(nn) = {my(i=0, q=2); forprime(p=3, nn, i++; if(p-q==100, print1(i, ", ")); q=p); } \\ _Jinyuan Wang_, Jan 29 2020
%Y A116496 Cf. A050434, A116493, A116495, A116497.
%K A116496 nonn
%O A116496 1,1
%A A116496 _Zak Seidov_, Feb 18 2006