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!)
A046123 Third member of a sexy prime quadruple: value of p+12 such that p, p+6, p+12 and p+18 are all prime. 5
17, 23, 53, 73, 263, 613, 653, 1103, 1493, 1613, 1753, 1873, 2383, 2683, 3313, 3923, 4013, 5113, 5393, 5443, 5653, 6323, 6373, 9473, 11833, 12113, 12653, 13463, 14633, 14753, 15803, 15913, 17483, 18223, 19483, 20353, 21493, 23333, 24103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is 17 the only term that is not equal to 3 mod 10? It is the only such term up to the one millionth prime. - Harvey P. Dale, Jan 25 2023
LINKS
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
a(n) = A046122(n) + 6. - Amiram Eldar, Apr 22 2022
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p+6]&&PrimeQ[p+12]&&PrimeQ[p+18], AppendTo[lst, p+12]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 29 2008 *)
Select[Prime[Range[3000]], AllTrue[#+{-12, -6, 6}, PrimeQ]&] (* Harvey P. Dale, Jan 25 2023 *)
CROSSREFS
Sequence in context: A278436 A126329 A130098 * A152292 A214493 A039319
KEYWORD
nonn
AUTHOR
STATUS
approved

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 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)