login
A102333
Initial terms of quartets of consecutive primes as follows: {p, p+16, p+24, p+40}. The corresponding difference-pattern is {16,8,16}.
5
108247, 121507, 166783, 169567, 178207, 216133, 257053, 258763, 272863, 274123, 372613, 383533, 384343, 396157, 413143, 501577, 562477, 577153, 581353, 635293, 721267, 727273, 738937, 769903, 908113, 917713, 932497, 937903, 965467, 980377, 989647, 1008547, 1126537
OFFSET
1,1
COMMENTS
A generalization of A052378.
LINKS
FORMULA
a(n) == 1 (mod 6). - Amiram Eldar, Feb 18 2025
MATHEMATICA
Transpose[Select[Partition[Prime[Range[78000]], 4, 1], Differences[#] == {16, 8, 16}&]][[1]] (* Harvey P. Dale, Mar 18 2012 *)
PROG
(PARI) list(lim) = {my(p1 = 2, p2 = 3, p3 = 5); forprime(p4 = 7, lim, if(p2 - p1 == 16 && p3 - p2 == 8 && p4 - p3 == 16, print1(p1, ", ")); p1 = p2; p2 = p3; p3 = p4); } \\ Amiram Eldar, Feb 18 2025
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 06 2005
STATUS
approved