A274045 Primes p such that p + 72 is the next prime.
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
Keywords
Examples
For 31397, the next prime is 31397 + 72 = 31469. For 360091, the next prime is 360091 + 72 = 360163.
Links
- Karl V. Keller, Jr., Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Partition[Prime[Range[105000]],2,1],#[[2]]-#[[1]]==72&][[All,1]] (* Harvey P. Dale, Dec 19 2021 *)
-
PARI
is(n)=isprime(n) && nextprime(n+1)-n==72 \\ Charles R Greathouse IV, Jun 19 2016
-
Python
from sympy import isprime,nextprime for i in range(3,1500001,2): if isprime(i) and nextprime(i) == i+72: print(i,end=', ')
Comments