login

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”).

A320713
Indices of primes followed by a gap (distance to next larger prime) of 30.
2
590, 650, 708, 757, 842, 890, 928, 985, 1006, 1051, 1108, 1556, 1570, 1648, 1650, 1675, 1754, 1900, 1919, 2027, 2125, 2149, 2321, 2391, 2397, 2429, 2631, 2637, 2699, 2781, 2866, 2918, 2989, 2993, 3010, 3085, 3153, 3207, 3315, 3340, 3350, 3373, 3420, 3511, 3551, 3580, 3637, 3751, 3777, 3948
OFFSET
1,1
COMMENTS
Indices of the primes listed in A124596.
FORMULA
a(n) = A000720(A124596(n)).
A320713 = { i>0 | prime(i+1) = prime(i) + 30 } = A001223^(-1)({30}).
PROG
(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
CROSSREFS
Equals A000720 o A124596.
Indices of 30's in A001223.
Row 15 of A174349.
Subsequence of A107730 (prime(n+1) ends in same digit as prime(n)).
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).
Sequence in context: A145699 A203628 A204752 * A116170 A171724 A195894
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 19 2018
STATUS
approved