A089881 Number of primes <= n that are members of twin prime pairs.
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
Offset: 1
Keywords
Examples
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).
Comments