A031925 Upper prime of a difference of 6 between consecutive primes.
29, 37, 53, 59, 67, 79, 89, 137, 157, 163, 173, 179, 239, 257, 263, 269, 277, 337, 359, 373, 379, 389, 439, 449, 509, 547, 563, 569, 577, 593, 599, 607, 613, 653, 659, 683, 733, 739, 757, 947, 953, 977, 983, 997, 1019, 1039, 1069, 1103, 1109
Offset: 1
Keywords
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
- Index entries for primes, gaps between
Crossrefs
Cf. A031924.
Programs
-
Maple
for i from 1 to 186 do if ithprime(i+1) = ithprime(i) + 6 then print({ithprime(i+1)}); fi; od; # Zerinvary Lajos, Mar 19 2007
-
PARI
is(n)=nextprime(n-5)==n && isprime(n-6) \\ Charles R Greathouse IV, Apr 29 2015