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.

A320712 Indices of primes followed by a gap (distance to next larger prime) of 28.

This page as a plain text file.
%I A320712 #6 Oct 24 2018 19:17:04
%S A320712 429,462,685,781,1116,1231,1274,1288,1327,1392,1585,1708,1710,1891,
%T A320712 1944,2065,2154,2367,2417,2606,2663,2729,2980,3012,3069,3227,3519,
%U A320712 3653,3990,4018,4168,4196,4595,4603,4618,4797,4856,4867,5123,5191,5294,5375,5432,5476,5498,5593,5627,5688,5703
%N A320712 Indices of primes followed by a gap (distance to next larger prime) of 28.
%C A320712 Indices of the primes listed in A124595.
%H A320712 <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>.
%F A320712 a(n) = A000720(A124595(n)).
%F A320712 A320712 = { i > 0 | prime(i+1) = prime(i) + 28 }.
%o A320712 (PARI) A(N=100,g=28,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 A320712 Equals A000720 o A124595.
%Y A320712 Indices of 28's in A001223.
%Y A320712 Row 14 of A174349.
%Y A320712 Cf. A029707, A029709, A320701, A320702, ..., A320720 (analog for gaps 2, 4, 6, 8, ..., 44), A116493 (gap 70), A116496 (gap 100), A116497 (gap 200), A116495 (gap 210).
%K A320712 nonn
%O A320712 1,1
%A A320712 _M. F. Hasler_, Oct 19 2018