The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A046141 p, p+8 and p+12 are primes. 2
5, 11, 29, 59, 71, 89, 101, 269, 389, 431, 449, 479, 491, 761, 929, 1289, 1439, 1481, 1559, 1571, 1601, 2129, 2339, 2381, 2531, 2609, 2699, 2741, 2789, 3011, 3209, 3449, 3911, 4721, 5471, 5519, 5639, 5849, 6569, 6899, 6959 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime Triplet.
MATHEMATICA
Select[Range@ 7000, AllTrue[{#, # + 8, # + 12}, PrimeQ] &] (* Michael De Vlieger, Jul 24 2015, Version 10 *)
Select[Prime[Range[1000]], AllTrue[#+{8, 12}, PrimeQ]&] (* Harvey P. Dale, Oct 07 2023 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(p+8) && isprime(p+12), print1(p, ", "))); \\ Michel Marcus, Jul 24 2015
CROSSREFS
Sequence in context: A062772 A319597 A030080 * A233540 A107135 A036062
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 June 5 01:34 EDT 2024. Contains 373102 sequences. (Running on oeis4.)