OFFSET
1,1
COMMENTS
Indices of the primes listed in A134116.
MATHEMATICA
Position[Differences[Prime[Range[11000]]], 34]//Flatten (* Harvey P. Dale, Jan 19 2021 *)
PROG
(PARI) A(N=100, g=34, 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
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 19 2018
STATUS
approved