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


Groups > sci.math > #328320

Re: set of formulas for computing all prime numbers

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.electronics.design, sci.math
Subject Re: set of formulas for computing all prime numbers
Date 2016-02-20 02:15 -0800
Organization Aioe.org NNTP Server
Message-ID <na9eb8$1094$1@gioia.aioe.org> (permalink)
References (3 earlier) <na4lea$67c$1@dont-email.me> <na4mrr$1r96$1@gioia.aioe.org> <na4s73$217$1@dont-email.me> <na5cef$12na$1@gioia.aioe.org> <na6r9r$d0m$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 2/19/2016 2:40 AM, David Brown wrote:

>> name is the spacing between consecutive primes, and result is the count
>> of how many times that spacing occurred, as you can see from the below,
>> the spacing of 6 is the most common gap between primes, and also there
>> is an oscillation of the spacing, where multiples of 6 spacings always
>> have more primes!  That is a fantastic result and makes me equivalent
>> to a genius with a capital J (jenius).
>>
>> Take a look at the below if you don't believe me, ie for name=6 that is
>> the count of all the primes in the first 1billion digits of numbers
>> with a prime spacing of 6.
>>
>> How do you explain that there are these peaks in the prime
>> distribution on multiples of 6 if it is so simple!?
>
> You will find that there is a general pattern of lower density of
> spacing "n" as n gets bigger (there are more pairs with spacing 2 than
> with spacing 20, for example).  You will find that the density gets
> lower as the number of primes gets higher.  This means that if you take
> the count for n = 6 and divide it by the number of primes in your
> sample, that ratio will go down as the sample size increases.
>
> And you will also find higher density for spacing where the number n has
> a prime factor p, with this density increase being most prominent for
> lower p.
>
> So on top of the general pattern of decaying numbers, you will have
> oscillations with peaks for every third spacing (corresponding to your
> multiples of 6), smaller peaks for every fifth spacing (multiples of
> 10), even smaller peaks for every seventh spacing, and so on.
>
> Intuitively, this is perfectly natural - if you have a prime number p,
> then you know that p + 6 is a good candidate for a prime because you can
> be sure it is not divisible by 2 or 3.  And p + 10 is also a good
> candidate because you know it is not divisible by 2 or 5 - but it is not
> as good a candidate as p + 6, because p + 10 might be divisible by 3 and
> multiples of 3 are more common than multiples of 5.
>
>
> So yes, it is an interesting pattern - and you could have a lot of fun
> drawing graphs, looking at peaks and troughs, and seeing how they vary
> as you pick larger or smaller sample sizes.  But it is not a
> mathematical breakthrough.


Hi,

Thanks, I also found that the oscillations in the spacing of primes
seem to disappear when using just a subset of the primes generated from
the formula 7+60n for n=0 to n=infinity

There were only 32 different gap spacings in the first 41525 primes
using this formula, and no apparently oscillation in the spacings
like in the full set of primes, all gaps are multiples of 60:

gap, count
{ Name = 60, Count = 9818 }
{ Name = 120, Count = 7679 }
{ Name = 180, Count = 5921 }
{ Name = 240, Count = 4577 }
{ Name = 300, Count = 3397 }
{ Name = 360, Count = 2655 }
{ Name = 420, Count = 2224 }
{ Name = 480, Count = 1282 }
{ Name = 540, Count = 1001 }
{ Name = 600, Count = 802 }
{ Name = 660, Count = 619 }
{ Name = 720, Count = 400 }
{ Name = 780, Count = 311 }
{ Name = 840, Count = 233 }
{ Name = 900, Count = 150 }
{ Name = 960, Count = 113 }
{ Name = 1020, Count = 105 }
{ Name = 1080, Count = 68 }
{ Name = 1140, Count = 44 }
{ Name = 1200, Count = 34 }
{ Name = 1260, Count = 30 }
{ Name = 1320, Count = 9 }
{ Name = 1380, Count = 14 }
{ Name = 1440, Count = 12 }
{ Name = 1500, Count = 11 }
{ Name = 1560, Count = 3 }
{ Name = 1620, Count = 1 }
{ Name = 1680, Count = 1 }
{ Name = 1740, Count = 3 }
{ Name = 1800, Count = 1 }
{ Name = 1860, Count = 4 }
{ Name = 1980, Count = 2 }

That list corresponds to the different gap spacings between the primes.

Is the explanation for a lack of oscillation in this sequence related
to there only being a single prime factor of 7, instead of all the
prime factors merged together?

I think breaking down the primes into these formulas where the 
oscillations disappear is a decent way to try to find an underlying
pattern to the distribution of primes, but unfortunately once the
easy to find oscillations are gone, then so are any patterns to find.

I am thinking of calculating the primes in different number bases
rather than just base10 to continue testing my primal instincts,
perhaps by comparing the distribution of primes between different
bases including base(prime#).

cheers,
Jamie


>
> mvh.,
>
> David
>
>
>

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


Thread

set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:43 -0800
  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:53 -0800
    Re: set of formulas for computing all prime numbers pedro <me@privacy.net> - 2016-02-21 14:21 +0800
  Re: set of formulas for computing all prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-02-18 02:53 -0700
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:55 -0800
  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:49 -0800
  Re: set of formulas for computing all prime numbers DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-02-18 11:26 +0000
  Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 13:07 +0100
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:20 -0800
      Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 15:48 +0100
        Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:53 -0800
          Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 17:37 +0100
        Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 07:09 -0800
          Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 17:44 +0100
            Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 13:18 -0800
              Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-19 11:40 +0100
                Re: set of formulas for computing all prime numbers DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-02-19 11:32 +0000
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:15 -0800
            Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 13:39 -0800
              Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-19 11:46 +0100
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:35 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:49 -0800
                Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 10:57 +0100
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-22 03:18 -0800
                Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 10:54 +0100
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-22 03:26 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 05:12 -0800
              Re: set of formulas for computing all prime numbers Jasen Betts <jasen@xnet.co.nz> - 2016-02-20 08:34 +0000
      Re: set of formulas for computing all prime numbers pedro <me@privacy.net> - 2016-02-21 14:32 +0800
        Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 22:59 -0800
          Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 11:10 +0100
            Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 03:05 -0800
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 03:19 -0800
              Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-23 12:35 +0100
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 04:12 -0800
                Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 12:43 +0000
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:12 -0800
                Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 13:48 +0000
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:07 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:23 -0800
                Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 13:51 +0000
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:12 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:17 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:40 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:42 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 08:55 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:06 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:54 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:59 -0800
  Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-18 12:25 +0000
    Re: set of formulas for computing all prime numbers Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-02-18 14:16 +0000
      Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-18 14:53 +0000
        Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-22 14:15 +0000
          Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-22 14:18 +0000
            Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 01:47 -0800
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 01:52 -0800
      Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 15:58 +0100
      Re: set of formulas for computing all prime numbers R Kym Horsell <kym@kymhorsell.com> - 2016-02-18 17:34 +0000
    Re: set of formulas for computing all prime numbers Jim Burns <james.g.burns@att.net> - 2016-02-18 10:46 -0500
  Re: set of formulas for computing all prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-02-18 23:31 +1100
    Re: set of formulas for computing all prime numbers bert <bert.hutchings@btinternet.com> - 2016-02-18 05:58 -0800
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:45 -0800
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:09 -0800
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:16 -0800
      Re: set of formulas for computing all prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-02-19 19:10 +1100
  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 20:46 -0800

csiph-web