We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Thanks for getting back. I am very well convinced that in order to find the exact number of primes that occur before a given number is only possible by generating them. Checked out the link above, but the results show that those functions give close but approximate results only. I guess i will figure out a way for that. Thanks again.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #187: Semiprimes
You are viewing a single comment's thread. Return to all comments →
Thanks for getting back. I am very well convinced that in order to find the exact number of primes that occur before a given number is only possible by generating them. Checked out the link above, but the results show that those functions give close but approximate results only. I guess i will figure out a way for that. Thanks again.