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.

A046122 Second member of a sexy prime quadruple: value of p+6 such that p, p+6, p+12 and p+18 are all prime.

Original entry on oeis.org

11, 17, 47, 67, 257, 607, 647, 1097, 1487, 1607, 1747, 1867, 2377, 2677, 3307, 3917, 4007, 5107, 5387, 5437, 5647, 6317, 6367, 9467, 11827, 12107, 12647, 13457, 14627, 14747, 15797, 15907, 17477, 18217, 19477, 20347, 21487, 23327, 24097
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    lst={};Do[p=Prime[n];If[PrimeQ[p+6]&&PrimeQ[p+12]&&PrimeQ[p+18], AppendTo[lst, p+6]], {n, 8!}];lst (* Vladimir Joseph Stephan Orlovsky, Aug 29 2008 *)

Formula

a(n) = 6 + A023271(n) = A046123(n) - 6. - R. J. Mathar, Jun 28 2012