login
A274045
Primes p such that p + 72 is the next prime.
1
31397, 360091, 507217, 517639, 633667, 650107, 705317, 749471, 753859, 770669, 809629, 818021, 828277, 1001839, 1025957, 1087159, 1133387, 1145899, 1152421, 1164101, 1206869, 1207769, 1210639, 1241087, 1278911, 1290719, 1351997
OFFSET
1,1
COMMENTS
This sequence is a subsequence of A156105 (p and p + 72 are primes).
LINKS
EXAMPLE
For 31397, the next prime is 31397 + 72 = 31469.
For 360091, the next prime is 360091 + 72 = 360163.
MATHEMATICA
Select[Partition[Prime[Range[105000]], 2, 1], #[[2]]-#[[1]]==72&][[All, 1]] (* Harvey P. Dale, Dec 19 2021 *)
PROG
(Python)
from sympy import isprime, nextprime
for i in range(3, 1500001, 2):
..if isprime(i) and nextprime(i) == i+72: print(i, end=', ')
(PARI) is(n)=isprime(n) && nextprime(n+1)-n==72 \\ Charles R Greathouse IV, Jun 19 2016
CROSSREFS
Sequence in context: A236891 A177217 A351852 * A277171 A258577 A303531
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Jun 07 2016
STATUS
approved