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!)
A216593 Number of semiprimes among n-th million natural numbers. 1
210035, 197249, 193162, 190540, 188288, 187308, 185657, 184788, 183856, 183441, 182123, 181556, 181125, 180878, 180234, 179649, 179055, 178710, 178652, 178034, 178015, 177307, 177391, 177003, 176568, 176419, 176021, 175788, 175655, 175189, 174915, 175357 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Let f(m) = number of semiprimes <m then a(n) is the number of semiprimes between 1+(n-1)*10^6 and n*10^6.
a(n) = 0 for almost all n. It seems infeasible to find the first such n. - Charles R Greathouse IV, Sep 09 2012
LINKS
FORMULA
a(n) ~ 1000000 n log log n / log n. - Charles R Greathouse IV, Sep 23 2012
MATHEMATICA
f[m_] := Sum[ PrimePi[(m - 1)/Prime[i]], {i, PrimePi[ Sqrt[m]]}] - Binomial[ PrimePi[ Sqrt[m]], 2]; ta=Table[f[n*10^6], {n, 0, 1000}]; s=Rest[ta]-Most[ta] (* for first 1000 terms *)
(* using Mmca code by Robert G. Wilson v in A066265 - Zak Seidov, Sep 09 2012 *)
PROG
(PARI) a(n)=sum(k=10^6*(n-1), 10^6*n, bigomega(k)==2) \\ Charles R Greathouse IV, Sep 09 2012
CROSSREFS
Sequence in context: A232136 A183602 A015376 * A172825 A072760 A178421
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 09 2012
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 February 25 19:44 EST 2024. Contains 370332 sequences. (Running on oeis4.)