OFFSET
1,1
COMMENTS
Indices of the primes listed in A098974.
LINKS
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
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 19 2018
STATUS
approved