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!)
A046137 Primes p such that p+4 and p+12 are also prime. 3
7, 19, 67, 97, 127, 229, 397, 487, 739, 757, 907, 1009, 1279, 1447, 1567, 1597, 1609, 1867, 1999, 2239, 2269, 2377, 2539, 2659, 2707, 3037, 3217, 3319, 3457, 3529, 3697, 3877, 3907, 3919, 4639, 4789, 4999, 5167, 5437, 5569, 5647, 5689, 5737 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms == 1 (mod 6). - Robert Israel, Jul 24 2015
LINKS
Eric Weisstein's World of Mathematics, Prime Triplet
FORMULA
A023200 INTERSECT A046133. - R. J. Mathar, Jan 23 2009
MAPLE
select(t -> isprime(t) and isprime(t+4) and isprime(t+12), [6*i+1 $ i=1..1000]); # Robert Israel, Jul 24 2015
MATHEMATICA
Select[Range@ 5760, AllTrue[{#, # + 4, # + 12}, PrimeQ] &] (* Michael De Vlieger, Jul 24 2015, Version 10 *)
Select[Prime[Range[800]], AllTrue[#+{4, 12}, PrimeQ]&] (* Harvey P. Dale, Apr 18 2022 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(p+4) && isprime(p+12), print1(p, ", "))); \\ Michel Marcus, Jul 24 2015
CROSSREFS
Sequence in context: A155384 A155218 A305483 * A193643 A228026 A122484
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 April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)