login
A320710
Indices of primes followed by a gap (distance to next larger prime) of 24.
1
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,1
COMMENTS
Indices of the primes listed in A098974.
FORMULA
a(n) = A000720(A098974(n)).
A320710 = { i > 0 | prime(i+1) = prime(i) + 24 }.
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
PROG
(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
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).
Sequence in context: A345834 A180556 A288502 * A142754 A245877 A142379
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 19 2018
STATUS
approved