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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046138 p, p+6 and p+8 are primes. 6
5, 11, 23, 53, 101, 131, 173, 191, 233, 263, 563, 593, 653, 821, 1013, 1223, 1283, 1481, 1601, 1613, 1871, 2081, 2333, 2543, 2963, 3251, 3323, 3461, 3533, 3761, 3911, 3923, 4013, 4211, 4253, 4643, 4793, 5003, 5273, 5471, 5651, 5843, 5861, 6263, 6353, 6563 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..46.

Eric Weisstein's World of Mathematics, Prime Triplet.

FORMULA

A023201 INTERSECT A023202. - R. J. Mathar, Jan 23 2009

MAPLE

for a from 3 by 2 to 10000 do

if `and`(isprime(a), isprime(a+6), isprime(a+8)) then print(a); end if;

end do; # Matt C. Anderson, Jul 24 2015

MATHEMATICA

Select[Range@ 6000, AllTrue[{#, # + 6, # + 8}, PrimeQ] &] (* Michael De Vlieger, Jul 24 2015, Version 10 *)

PROG

(MAGMA) [p: p in PrimesUpTo(10^4)| IsPrime(p+6) and IsPrime(p+8)]; // Vincenzo Librandi, Jul 26 2015

(Perl) use ntheory ":all"; say for sieve_prime_cluster(0, 1e5, 6, 8); # Dana Jacobsen, Oct 17 2017

CROSSREFS

Sequence in context: A102444 A132177 A340340 * A296322 A097279 A106171

Adjacent sequences:  A046135 A046136 A046137 * A046139 A046140 A046141

KEYWORD

nonn

AUTHOR

Eric W. Weisstein

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 21 10:09 EDT 2021. Contains 345360 sequences. (Running on oeis4.)