login
A320719
Indices of primes followed by a gap (distance to next larger prime) of 42.
2
1879, 3732, 4059, 4135, 4714, 5355, 5948, 6160, 6841, 7434, 7724, 7746, 7952, 7980, 8081, 8269, 8580, 9303, 9395, 9971, 10045, 10305, 10968, 11023, 11135, 11251, 11338, 11399, 11515, 11807, 11888, 11901, 12089, 12374, 12488, 13277, 13447, 14497, 14802, 15086, 15089, 15350, 15612, 15785
OFFSET
1,1
COMMENTS
Indices of the primes listed in A134120.
FORMULA
a(n) = A000720(A134120(n)).
MATHEMATICA
Position[Differences[Prime[Range[16000]]], 42]//Flatten (* Harvey P. Dale, Feb 22 2020 *)
PROG
(PARI) A(N=100, g=42, 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
Cf. A029707, A029709 (analog for gaps 2 & 4), A320701, A320702, ... A320720 (analog for gaps 6, 8, ..., 44), A116493 (gap 70), A116496 (gap 100), A116497 (gap 200), A116495 (gap 210).
Equals A000720 o A134120.
Indices of 42's in A001223.
Row 21 of A174349.
Sequence in context: A237570 A045201 A020407 * A358147 A235193 A072494
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 19 2018
STATUS
approved