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.

Original entry on oeis.org

199, 211, 223, 1499, 1511, 1523, 4397, 4409, 4421, 4679, 4691, 4703, 7829, 7841, 7853, 9859, 9871, 9883, 11287, 11299, 11311, 11399, 11411, 11423, 11719, 11731, 11743, 12829, 12841, 12853, 15149, 15161, 15173, 16607, 16619, 16631, 17419
Offset: 1

Views

Author

Zerinvary Lajos, May 04 2007

Keywords

Examples

			199, 211, 223
1499, 1511, 1523
4397, 4409, 4421
4679, 4691, 4703
7829, 7841, 7853
9859, 9871, 9883
11287, 11299, 11311
11399, 11411, 11423
etc...
		

Crossrefs

Cf. A052188 (1st column).

Programs

  • Maple
    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;#
  • Mathematica
    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 *)