login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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. 5

%I #24 Apr 22 2022 05:31:00

%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 Amiram Eldar, <a href="/A046122/b046122.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SexyPrimes.html">Sexy Primes</a>. [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].

%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, A023271, 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 07:40 EDT 2024. Contains 370958 sequences. (Running on oeis4.)