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!)
 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. 4

%I

%S 11,17,47,67,257,607,647,1097,1487,1607,1747,1867,2377,2677,3307,3917,

%T 4007,5107,5387,5437,5647,6317,6367,9467,11827,12107,12647,13457,

%U 14627,14747,15797,15907,17477,18217,19477,20347,21487,23327,24097

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

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SexyPrimes.html">Sexy Primes</a>.

%F a(n) = 6 + A023271(n) = A046123(n) - 6. - _R. J. Mathar_, Jun 28 2012

%t 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 *)

%Y Cf. A023201, A046117, A046123, A046124.

%K nonn

%O 1,1

%A _Eric W. Weisstein_

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 06:27 EST 2020. Contains 338607 sequences. (Running on oeis4.)