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!)
A159700 Number of different pairs of primes p,q such that : p<(q-2), p is a twin prime of p-2 or p+2 and q is a twin prime of q-2 or q+2, 2*n=p+q 3
0, 0, 0, 0, 1, 0, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 3, 4, 2, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 4, 3, 3, 4, 2, 1, 2, 1, 2, 4, 2, 0, 0, 0, 2, 4, 3, 2, 2, 2, 4, 6, 3, 2, 4, 2, 1, 2, 1, 2, 4, 2, 1, 2, 2, 3, 4, 2, 2, 4, 3, 3, 4, 2, 2, 4, 2, 3, 6, 3, 1, 2, 1, 3, 6, 4, 2, 2, 1, 2, 4, 3, 4, 6, 4, 3, 4, 2, 6, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
conjecture : for n>2104 there is at least one such pair of primes p+q=2*n
LINKS
EXAMPLE
3+13=16,5+11=16 so for n=8 2 pairs p,q such that p+q=2*8, p<(q-2) p and q have a twin prime
PROG
(Haskell)
a159700 n = length $ filter (\(p, q) -> p < q - 2 && a164292 q == 1) $
zip ps (map (2 * n -) ps)
where ps = filter ((== 1) . a164292) [1..n]
-- Reinhard Zumkeller, Mar 13 2014
CROSSREFS
Cf. A164292.
Sequence in context: A239660 A237348 A037813 * A083534 A174664 A027386
KEYWORD
nonn,look
AUTHOR
Pierre CAMI, Apr 20 2009
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 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)