The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A046124 Last member of a sexy prime quadruple: value of p+18 such that p, p+6, p+12 and p+18 are all prime. 4
 23, 29, 59, 79, 269, 619, 659, 1109, 1499, 1619, 1759, 1879, 2389, 2689, 3319, 3929, 4019, 5119, 5399, 5449, 5659, 6329, 6379, 9479, 11839, 12119, 12659, 13469, 14639, 14759, 15809, 15919, 17489, 18229, 19489, 20359, 21499, 23339, 24109 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS 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. FORMULA a(n) = A023271(n)+18 = A046122(n)+12 = A046123(n)+6. - Michel Marcus, Jan 06 2015 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 Cf. A023271, A046122, A046123. Sequence in context: A174260 A097436 A063980 * A157677 A092518 A110584 Adjacent sequences:  A046121 A046122 A046123 * A046125 A046126 A046127 KEYWORD nonn AUTHOR Eric W. Weisstein, Dec 11 1999 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified November 24 07:33 EST 2020. Contains 338607 sequences. (Running on oeis4.)