cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A128312 List of triples of primes with common difference 12.

This page as a plain text file.
%I A128312 #8 Jan 08 2025 09:27:53
%S A128312 199,211,223,1499,1511,1523,4397,4409,4421,4679,4691,4703,7829,7841,
%T A128312 7853,9859,9871,9883,11287,11299,11311,11399,11411,11423,11719,11731,
%U A128312 11743,12829,12841,12853,15149,15161,15173,16607,16619,16631,17419
%N A128312 List of triples of primes with common difference 12.
%e A128312 199, 211, 223
%e A128312 1499, 1511, 1523
%e A128312 4397, 4409, 4421
%e A128312 4679, 4691, 4703
%e A128312 7829, 7841, 7853
%e A128312 9859, 9871, 9883
%e A128312 11287, 11299, 11311
%e A128312 11399, 11411, 11423
%e A128312 etc...
%p A128312 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 A128312 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 A128312 Cf. A052188 (1st column).
%K A128312 nonn,tabf
%O A128312 1,1
%A A128312 _Zerinvary Lajos_, May 04 2007