Post Reply 
Strange behaviour of prime numbers
05-27-2019, 10:53 PM
Post: #26
RE: Strange behaviour of prime numbers
(05-27-2019 09:35 PM)Gilles Wrote:  I'm probably wrong somewhere (or dont understand how you calculate the %) but I dont find the same result with this program in newRPL. For the first million I get :

{ 4.09. 8.02. 8.34. 4.53. 5.59. 3.58. 7.41. 8.47. 6.46. 6.93. 3.66. 7.94. 8.85. 6.51. 5.58. 4.02. }

Hi, Gilles

I don't think your code counted 1 million primes, but only primes below 1 million.
In other words, only PrimePi[10^6] = 78498 primes.

Tried lastdigitdist[Range[78498]], and it matches above posted distribution.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Strange behaviour of prime numbers - Albert Chan - 05-27-2019 10:53 PM



User(s) browsing this thread: 10 Guest(s)