OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Maxie D. Schmidt, New Congruences and Finite Difference Equations for Generalized Factorial Functions, arXiv:1701.04741 [math.CO], 2017.
Eric Weisstein's World of Mathematics, Sexy Primes. [The definition in this webpage is unsatisfactory, because it defines a "sexy prime" as a pair of primes.- N. J. A. Sloane, Mar 07 2021].
FORMULA
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p+6]&&PrimeQ[p+12]&&PrimeQ[p+18], AppendTo[lst, p+18]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 29 2008 *)
PROG
(Magma) [p+18: p in PrimesUpTo(30000) | IsPrime(p+6) and IsPrime(p+12) and IsPrime(p+18)]; // Vincenzo Librandi, Jan 07 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Dec 11 1999
STATUS
approved