Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #10 Oct 24 2018 19:17:16
%S 590,650,708,757,842,890,928,985,1006,1051,1108,1556,1570,1648,1650,
%T 1675,1754,1900,1919,2027,2125,2149,2321,2391,2397,2429,2631,2637,
%U 2699,2781,2866,2918,2989,2993,3010,3085,3153,3207,3315,3340,3350,3373,3420,3511,3551,3580,3637,3751,3777,3948
%N Indices of primes followed by a gap (distance to next larger prime) of 30.
%C Indices of the primes listed in A124596.
%H <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>.
%F a(n) = A000720(A124596(n)).
%F A320713 = { i>0 | prime(i+1) = prime(i) + 30 } = A001223^(-1)({30}).
%o (PARI) A(N=100,g=30,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 Equals A000720 o A124596.
%Y Indices of 30's in A001223.
%Y Row 15 of A174349.
%Y Subsequence of A107730 (prime(n+1) ends in same digit as prime(n)).
%Y 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 nonn
%O 1,1
%A _M. F. Hasler_, Oct 19 2018