Wikipedia:Reference desk/Archives/Mathematics/2018 December 28

Mathematics desk
< December 27 << Nov | December | Jan >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


December 28

edit

Primes less than a given limit

edit

Is there a website or program that I can download that will give the number of primes less than a given limit, the various limits are  . Bubba73 You talkin' to me? 05:40, 28 December 2018 (UTC)[reply]

Prime-counting_function. Bo Jacoby (talk) 05:46, 28 December 2018 (UTC).[reply]
I know of that article, but I'm looking for an implentation of one of those algorithms. Bubba73 You talkin' to me? 06:38, 28 December 2018 (UTC)[reply]
Perhaps [1] will help. Replace the 1000000 with the number(s) you're interested in. --RDBury (talk) 12:46, 28 December 2018 (UTC)[reply]
That doesn't give the exact value for as large as I need it. Bubba73 You talkin' to me? 19:53, 28 December 2018 (UTC)[reply]
Prime-counting function#External links gives [2] and [3]. PrimeHunter (talk) 20:05, 28 December 2018 (UTC)[reply]

Thanks, but the first one gives exact values only up to   and I need up to about  . The second one has a lot of good stuff, but not quite what I'm looking far. I need 62 specific values of   to confirm or refute a minor conjecture. I've started a simple sieve to give me the data I need - in the meantime I'm working on my main program. Bubba73 You talkin' to me? 22:53, 28 December 2018 (UTC)[reply]