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.

A320713 Indices of primes followed by a gap (distance to next larger prime) of 30.

Original entry on oeis.org

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

Views

Author

M. F. Hasler, Oct 19 2018

Keywords

Comments

Indices of the primes listed in A124596.

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

Programs

  • 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

Formula

a(n) = A000720(A124596(n)).
A320713 = { i>0 | prime(i+1) = prime(i) + 30 } = A001223^(-1)({30}).