A172469 Primes congruent to +/-1 or +/-7 modulo 25.
7, 43, 101, 107, 149, 151, 157, 193, 199, 251, 257, 293, 307, 349, 401, 443, 449, 457, 499, 557, 593, 599, 601, 607, 643, 701, 743, 751, 757, 857, 907, 1049, 1051, 1093, 1151, 1193, 1201, 1249, 1301, 1307, 1399, 1451, 1493, 1499, 1543, 1549, 1601, 1607
Offset: 1
Programs
-
Python
from itertools import count, islice from sympy import isprime def A172469_gen(): # generator of terms yield from (7, 43) for n in count(50,50): for m in (1,7,43,49): if isprime(n+m): yield n+m A172469_list = list(islice(A172469_gen(),48)) # Chai Wah Wu, Apr 28 2025
Formula
Extensions
More terms from R. J. Mathar, Feb 05 2010
Comments