A320715 Indices of primes followed by a gap (distance to next larger prime) of 34.
217, 1059, 1229, 1409, 1457, 1986, 2169, 2310, 2406, 3221, 3505, 3692, 3995, 4324, 4923, 5130, 5518, 6050, 6152, 6168, 6434, 7257, 7362, 7604, 7694, 7915, 8293, 8555, 8584, 8651, 8859, 9017, 9341, 9598, 9796, 9869, 10028, 10092, 10116, 10150, 10211, 10234, 10317, 10657, 10744, 10762
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Position[Differences[Prime[Range[11000]]],34]//Flatten (* Harvey P. Dale, Jan 19 2021 *)
-
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
Comments