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.

A320710 Indices of primes followed by a gap (distance to next larger prime) of 24.

Original entry on oeis.org

263, 327, 574, 615, 641, 697, 804, 834, 869, 909, 938, 987, 1022, 1045, 1127, 1336, 1399, 1421, 1446, 1452, 1551, 1577, 1865, 1883, 1908, 1938, 1939, 1968, 2032, 2064, 2128, 2130, 2176, 2214, 2313, 2508, 2555, 2592, 2612, 2652, 2736, 2762, 2991, 3162, 3243, 3285, 3483, 3489
Offset: 1

Views

Author

M. F. Hasler, Oct 19 2018

Keywords

Comments

Indices of the primes listed in A098974.

Crossrefs

Equals A000720 o A098974.
Row 12 of A174349.
Indices of 24's in A001223.
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

  • Maple
    P:= [seq(ithprime(i),i=1..4001)]:
    B:= P[2..-1]-P[1..-2]:
    select(t -> B[t]=24, [$1..4000]); # Robert Israel, May 03 2019
  • PARI
    A(N=100,g=24,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(A098974(n)).
A320710 = { i > 0 | prime(i+1) = prime(i) + 24 }.