A320718 Indices of primes followed by a gap (distance to next larger prime) of 40.
2191, 2344, 2524, 2788, 3562, 4058, 4677, 5030, 5349, 6076, 6145, 6256, 6320, 6442, 6454, 6902, 7232, 7488, 8119, 8152, 8245, 8366, 8553, 8567, 8591, 8746, 9260, 9361, 10536, 10735, 11095, 11407, 11534, 11781, 12227, 12312, 12663, 12815, 12940, 13015, 13333, 13676, 13873, 14065, 14123
Offset: 1
Keywords
Crossrefs
Programs
-
PARI
A(N=100,g=40,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