Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Jan 08 2025 09:27:53
%S 199,211,223,1499,1511,1523,4397,4409,4421,4679,4691,4703,7829,7841,
%T 7853,9859,9871,9883,11287,11299,11311,11399,11411,11423,11719,11731,
%U 11743,12829,12841,12853,15149,15161,15173,16607,16619,16631,17419
%N List of triples of primes with common difference 12.
%e 199, 211, 223
%e 1499, 1511, 1523
%e 4397, 4409, 4421
%e 4679, 4691, 4703
%e 7829, 7841, 7853
%e 9859, 9871, 9883
%e 11287, 11299, 11311
%e 11399, 11411, 11423
%e etc...
%p for i from 1 by 1 to 4000 do > if ithprime(i+1) = ithprime(i) +12 and ithprime(i+2) = ithprime(i) + 24 then print(ithprime(i),ithprime(i+1),ithprime(i+2)); > fi; > od;#
%t s={};Do[p=Prime[n];If[NextPrime[p]==p+12&&NextPrime[p,2]==p+24,AppendTo[s,{p,p+12,p+24}]],{n,2100}];Flatten[s] (* _James C. McMahon_, Jan 07 2025 *)
%Y Cf. A052188 (1st column).
%K nonn,tabf
%O 1,1
%A _Zerinvary Lajos_, May 04 2007