OFFSET
1,1
COMMENTS
This sequence is a subsequence of A156105 (p and p + 72 are primes).
LINKS
Karl V. Keller, Jr., Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Jun 07 2016
STATUS
approved