Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #402729

Re: fun with primorials and prime numbers

From David Brown <david.brown@hesbynett.no>
Newsgroups sci.electronics.design, sci.math
Subject Re: fun with primorials and prime numbers
Date 2016-03-14 09:31 +0100
Organization A noiseless patient Spider
Message-ID <nc5snq$o9p$1@dont-email.me> (permalink)
References (4 earlier) <nbmbgj$3bs$1@gioia.aioe.org> <nbnfer$ut4$2@dont-email.me> <nbqoir$upf$1@gioia.aioe.org> <nbr8r5$ijj$1@dont-email.me> <nc5n0f$1or0$1@gioia.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On 14/03/16 07:50, Jamie M wrote:
> On 3/9/2016 11:50 PM, David Brown wrote:
>> On 10/03/16 04:10, Jamie M wrote:
>>> On 3/8/2016 1:16 PM, James Waldby wrote:
>>>> On Tue, 08 Mar 2016 03:02:41 -0800, Jamie M wrote:
>>>> ...
>>>>> For the simple example of primorial 6 for m, there
>>>>> are two values of b required, 1 and 5.
>>>>>
>>>>> y = 6x + 1
>>>>> y = 6x + 5
>>>>>
>>>>> for all the non negative integers x, all primes will be in y,
>>>>> half in 6x + 1 and half in 6x + 5
>>>>
>>>> Instead of "half in 6x + 1 and half in 6x + 5" you should say
>>>>    "about half in 6x + 1 and about half in 6x + 5".  As noted in
>>>> an answer at http://mathoverflow.net/q/165887 if one assumes the
>>>> Riemann hypothesis is true and that imaginary parts of the zeros
>>>> of the L-series are linearly independent then the difference of
>>>> the two counts (ie of 6x+5 vs 6x+1 form primes) can be arbitrarily
>>>> large.
>>>>
>>>
>>> I think the count of primes in the two formulas has to be defined
>>> as equal, if they weren't equal then how can the primes have a
>>> pseudorandom distribution?
>>>
>>
>> You are mixing up terms again - certainly "defined" does not come into
>> it.  And there is nothing "pseudorandom" about the distribution of
>> primes - as far as we know, the distribution is /random/, with certain
>> constraints.  (To be pseudorandom, there would need to be a reasonable
>> algorithm for generating the primes.)
> 
> 
> Hi,
> 
> I used the term pseudorandom interchangeably with random, as the
> distribution of the both random and pseudorandom is considered random
> for most purposes, and as you say the prime digits aren't exactly
> randomly distributed, so I hesitate to say it is a random distribution
> just because I don't know the pattern if one exists.

"pseudorandom" and "random" mean very different things - they only
/look/ similar.  Don't use the terms interchangeably - look them up, and
use them correctly.

It's okay to be ignorant about a topic - we all start out ignorant.
It's easy to cure ignorance with learning and knowledge.  But don't be
proud or wilful about your ignorance.  When you have a gap in your
knowledge and someone tries to fill it, the proper reaction is "thanks
for that explanation" or "that's interesting, I'll read up on some more
details".  You don't write "I prefer to remain ignorant and continue to
make the same mistakes".

And I didn't same that "prime digits aren't exactly randomly
distributed".  Written like that, the sentence doesn't even make sense.

> 
> 
>>
>> And you are also misunderstanding what random means, and what James
>> meant by "the difference can be arbitrarily large".
> 
> The number of primes in 6x + 5 vs 6x + 1 can be arbitrarily large,
> however at the same time as x approaches infinity, the difference in
> the number of primes in 6x + 5 vs 6x + 5 approaches zero percent,
> although for ranges of x there may be (arbitrarily) many more primes in
> 6x + 5 than in 6x + 1, overall the total count of primes for all x
> is equal, assuming a random or pseudrandom distribution of primes.

That is roughly correct, although I don't think that the difference
between the two counts will "approach zero percent".  It certainly will
not converge to zero percent - that is contradicted by the arbitrarily
large differences between them.  It may be that by taking some other
measure than the usual convergence, you can argue that it tends towards
zero.  But I don't for sure.  (While I know a good deal more mathematics
than most people, I am not an expert in number theory.)

> 
> cheers,
> Jamie
> 
> 
>>
>> To explain, lets move to something clearly random - coin tosses.  If you
>> keep tossing a coin, and record the number of heads and the number of
>> tails, you will not expect them to be equal - you will expect them to be
>> /about/ equal.  But you will also expect the difference between the
>> counts to vary, and there will be no fixed limit to that difference - a
>> limit would imply that the number of heads influenced the number of
>> tails and vice-versa.  So the difference between the counts can be
>> arbitrarily large.
>>
>> The distribution of 6x+1 primes and that of 6x+5 primes are independent
>> in the same way.  Thus you would expect roughly the same numbers of
>> each, but there can be arbitrary differences between them.
>>
>> (Terms like "about the same" can be quantified probabilistically - you
>> can calculate that there is a 90% chance of being at least as close as
>> one limit, 70% chance of being at least as close as another limit, and
>> so on, and figure out a probability density function.  But that is left
>> as an exercise for the reader :-)
>>
> 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-06 23:27 -0800
  Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-06 23:58 -0800
    Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-07 03:57 -0800
      Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-08 00:03 -0800
        Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-08 03:02 -0800
          Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-08 17:18 +0000
          Re: fun with primorials and prime numbers James Waldby <not@valid.invalid> - 2016-03-08 21:16 +0000
            Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-09 19:10 -0800
              Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-10 08:50 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-13 23:50 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 09:31 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 05:42 -0700
                Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-14 13:14 +0000
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:37 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:40 -0700
                Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-14 13:59 +0000
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 14:30 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:49 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 16:51 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 10:36 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:53 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 16:56 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 10:51 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-15 11:24 -0700
          Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-08 19:24 -0800
            Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-09 19:12 -0800
              Re: fun with primorials and prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-03-09 23:15 -0700
  Re: fun with primorials and prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-03-09 16:22 +1100

csiph-web