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.

A286217 Product of the n-th sexy prime triple.

Original entry on oeis.org

1729, 11339, 49321, 146969, 386389, 1089019, 1221191, 3864241, 5171489, 12640949, 18181979, 21243961, 43974269, 51881689, 178433279, 208506509, 230324329, 278421569, 393806449, 849244031, 932539661, 1341880019, 1416207439, 1672403471, 1829232539, 2111885999
Offset: 1

Views

Author

Connor Zapfel, May 04 2017

Keywords

Comments

A sexy prime triple is such that p, p+6, and p+12 are primes but p+18 is not a prime. - Harvey P. Dale, Oct 13 2024

Examples

			The first sexy prime triple is (7, 13, 19) so a(1) = 7*13*19 = 1729.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime@ Range@ 500, PrimeQ[# + {6, 12, 18}] == {True, True, False} &] // # (#+6) (#+12) & (* Giovanni Resta, May 05 2017 *)
    Times@@Take[#,3]&/@(Select[Table[p+{0,6,12,18},{p,Prime[Range[250]]}],Boole[PrimeQ[#]]=={1,1,1,0}&]) (* Harvey P. Dale, Oct 13 2024 *)

Formula

a(n) = s(n)*(s(n)+6)*(s(n)+12), where s = A046118.
a(n) = A046118(n) * A046119(n) * A046120(n).