A088700 Number of primes between successive semiprimes.
1, 1, 0, 2, 0, 2, 0, 1, 0, 2, 0, 0, 1, 0, 2, 1, 0, 1, 0, 0, 2, 0, 1, 2, 0, 1, 1, 0, 0, 1, 0, 0, 0, 3, 2, 1, 0, 0, 0, 0, 0, 1, 1, 0, 2, 0, 0, 0, 0, 2, 1, 0, 0, 1, 1, 1, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 3, 0, 2, 0, 1, 0, 1, 0, 1, 0, 2, 1, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0
Offset: 1
Keywords
Examples
a(34)=3, as there are three primes between A001358(34)=19*5=95 and A001358(34+1)=53*2=106: 97, 101 and 103.
Links
- T. D. Noe, Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, Prime Counting Function
- Eric Weisstein's World of Mathematics, Semiprime
Crossrefs
Programs
-
Mathematica
Select[Range[400], PrimeOmega[#] == 2&] // PrimePi // Differences (* Jean-François Alcover, Oct 12 2021 *)
Comments