A320710 Indices of primes followed by a gap (distance to next larger prime) of 24.
263, 327, 574, 615, 641, 697, 804, 834, 869, 909, 938, 987, 1022, 1045, 1127, 1336, 1399, 1421, 1446, 1452, 1551, 1577, 1865, 1883, 1908, 1938, 1939, 1968, 2032, 2064, 2128, 2130, 2176, 2214, 2313, 2508, 2555, 2592, 2612, 2652, 2736, 2762, 2991, 3162, 3243, 3285, 3483, 3489
Offset: 1
Keywords
Links
Crossrefs
Programs
-
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
-
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
Comments