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.

A320717 Indices of primes followed by a gap (distance to next larger prime) of 38.

This page as a plain text file.
%I A320717 #6 Oct 24 2018 19:17:52
%S A320717 3302,4052,4154,4743,5093,5229,5782,5902,6131,6406,6802,7145,7164,
%T A320717 7399,7718,7789,8303,8782,9237,9957,10073,10431,10465,10541,10549,
%U A320717 10580,10981,11244,11818,11853,12147,12574,13094,13237,13286,13337,13435,13669,13906,14186,14270,14301,14380,14397
%N A320717 Indices of primes followed by a gap (distance to next larger prime) of 38.
%C A320717 Indices of the primes listed in A134118.
%H A320717 <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>.
%F A320717 a(n) = A000720(A134118(n)).
%o A320717 (PARI) A(N=100,g=38,p=2,i=primepi(p)-1,L=List())={forprime(q=1+p,,i++; if(p+g==p=q, listput(L,i); N--||break));Vec(L)} \\ returns the list of first N terms of the sequence
%Y A320717 Cf. A029707, A029709 (analog for gaps 2 & 4), A320701, A320702, ... A320720 (analog for gaps 6, 8, ..., 44), A116493 (gap 70), A116496 (gap 100), A116497 (gap 200), A116495 (gap 210).
%Y A320717 Equals A000720 o A134118.
%Y A320717 Indices of 38's in A001223.
%Y A320717 Row 19 of A174349.
%K A320717 nonn
%O A320717 1,1
%A A320717 _M. F. Hasler_, Oct 19 2018