A380333 Where prime race 8m+3 vs. 8m+7 is tied.
2, 7, 31, 37, 41, 47, 53, 79, 103, 127, 199, 223, 239, 241, 263, 269, 283, 293, 311, 313, 317, 367, 373, 383, 389, 397, 401, 409, 431, 433, 443, 449, 457, 461, 467, 499, 523, 541, 1039, 1049, 1063, 1069, 1091, 1093, 1097, 1123, 1129, 1163, 1231, 1237, 1249
Offset: 1
Keywords
Programs
-
Python
from sympy import nextprime; p, x = 2, 0; R = [p] while p < 1249: p = nextprime(p); d = (5-p%8)//2 if d in {-1, 1}: x += d if x == 0: R.append(p) print(*R, sep = ', ')
Comments