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!)
A143206 Product of the n-th cousin prime pair. 8
21, 77, 221, 437, 1517, 2021, 4757, 6557, 9797, 11021, 12317, 16637, 27221, 38021, 50621, 53357, 77837, 95477, 99221, 123197, 145157, 159197, 194477, 210677, 216221, 239117, 250997, 378221, 416021, 455621, 549077, 576077, 594437, 680621 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = A023200(n)*A046132(n);
intersection of A143203 and A001358.
Sum_{n>=2} 1/a(n) > 0.02187310784. - R. J. Mathar, Jan 23 2013
LINKS
Eric Weisstein's World of Mathematics, Cousin Primes
EXAMPLE
a(1) = 3*7 = 3*(3+4) = 21;
a(2) = 7*11 = 7*(7+4) = 77;
a(3) = 13*17 = 13*(13+4) = 221;
a(4) = 19*23 = 19*(19+4) = 437.
MATHEMATICA
fQ[n_] := Block[{fi = FactorInteger@ n}, Last@# & /@ fi == {1, 1} && Differences[ First@# & /@ fi] == {4}]; Select[ Range@ 700000, fQ] (* Robert G. Wilson v, Feb 08 2012 *)
PROG
(Haskell)
a143206 n = a143206_list !! (n-1)
a143206_list = (3*7) : f a000040_list where
f (p:ps@(p':_)) | p'-p == 4 = (p*p') : f ps
| otherwise = f ps
-- Reinhard Zumkeller, Sep 13 2011
(Magma) [(p*(p+4)): p in PrimesUpTo(1000)| IsPrime(p+4)]; // Vincenzo Librandi, Jan 04 2018
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(q=p+4), print1(p*q, ", "))); \\ Michel Marcus, Jan 04 2018
CROSSREFS
Sequence in context: A218960 A218955 A085027 * A182754 A045559 A144314
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 12 2008
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 May 7 06:12 EDT 2024. Contains 372300 sequences. (Running on oeis4.)