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!)
A089881 Number of primes <= n that are members of twin prime pairs. 1
0, 0, 0, 0, 2, 2, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
a(n) = if n<3 then 0 else (if n<7 then A071538(n-2)*2 else A071538(n-2)*2-1).
LINKS
EXAMPLE
a(30) = 7 = #{3,5,7,11,13,17,19}, as (3,5), (5,7), (11,13) and (17,19) are all twin prime pairs with members not greater than 30,
a(31) = 9 = #{3,5,7,11,13,17,19,29,31} with two more members for the next twin prime pair (29,31).
CROSSREFS
Sequence in context: A147954 A105047 A331135 * A251547 A084320 A161358
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 13 2003
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)