login
A275219
Number of primes between prime (n)*prime (n + 1) and prime (n + 1) prime (n + 2).
1
3, 5, 10, 13, 13, 19, 18, 37, 33, 35, 51, 34, 32, 61, 78, 58, 59, 78, 50, 67, 90, 91, 137, 133, 66, 62, 64, 71, 212, 241, 133, 106, 168, 184, 122, 181, 162, 165, 192, 139, 216, 216, 110, 109, 264, 463, 337, 127, 123, 210, 184, 263, 355, 282, 271, 200, 193
OFFSET
1,1
LINKS
EXAMPLE
The primes between 15 and 35 are 17,19,23,29,31, so that a(2) = 5.
MATHEMATICA
z = 200; t = Table[Prime[n] Prime[n + 1], {n, 1, 2*z}] (* A006094 *)
Table[PrimePi[t[[n + 1]]] - PrimePi[t[[n]]], {n, 1, z}] (* A275219 *)
PROG
(PARI) a(n) = primepi(prime(n+1)*prime(n+2)) - primepi(prime(n)*prime(n+1)) \\ Felix Fröhlich, Jul 22 2016
CROSSREFS
Sequence in context: A007557 A034746 A345176 * A080931 A299533 A309270
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 20 2016
STATUS
approved