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


Groups > sci.electronics.design > #399272 > unrolled thread

set of formulas for computing all prime numbers

Started byJamie M <jmorken@shaw.ca>
First post2016-02-18 01:43 -0800
Last post2016-02-20 20:44 -0800
Articles 20 on this page of 47 — 13 participants

Back to article view | Back to sci.electronics.design


Contents

  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 jack4747@gmail.com - 2016-02-18 04:22 -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 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 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-18 06:45 -0800
    Re: set of formulas for computing all prime numbers bloggs.fredbloggs.fred@gmail.com - 2016-02-20 06:53 -0800
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 20:44 -0800

Page 1 of 3  [1] 2 3  Next page →


#399272 — set of formulas for computing all prime numbers

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 01:43 -0800
Subjectset of formulas for computing all prime numbers
Message-ID<na43oi$mgq$1@gioia.aioe.org>
Hi,


Here is a set of formulas for computing all prime numbers:

for each go from n=0 to n=infinity and the combined
outputs will contain all the primes

1+60n
3+60n
7+60n
11+60n
13+60n
17+60n
19+60n
23+60n
29+60n
31+60n
37+60n
41+60n
43+60n
47+60n
49+60n
53+60n
59+60n

ie for 1+60n

for n = 1,2,3
61=1+60*1
121=1+60*2
181=1+60*3

not all will be prime, but the above formulas will have all the
primes, and none of them will be repeated, ie each formula will
produce a unique set of prime numbers, when combined give all
the primes.

If anyone is interested in how I figured this out I will give a full
description :D

cheers,
Jamie

[toc] | [next] | [standalone]


#399273

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 01:53 -0800
Message-ID<na44ab$nmm$1@gioia.aioe.org>
In reply to#399272
On 2/18/2016 1:43 AM, Jamie M wrote:
> Hi,
>
>
> Here is a set of formulas for computing all prime numbers:
>
> for each go from n=0 to n=infinity and the combined
> outputs will contain all the primes
>
> 1+60n
> 3+60n
> 7+60n
> 11+60n
> 13+60n
> 17+60n
> 19+60n
> 23+60n
> 29+60n
> 31+60n
> 37+60n
> 41+60n
> 43+60n
> 47+60n
> 49+60n
> 53+60n
> 59+60n
>
> ie for 1+60n
>
> for n = 1,2,3
> 61=1+60*1
> 121=1+60*2
> 181=1+60*3
>
> not all will be prime, but the above formulas will have all the
> primes, and none of them will be repeated, ie each formula will
> produce a unique set of prime numbers, when combined give all
> the primes.
>
> If anyone is interested in how I figured this out I will give a full
> description :D
>
> cheers,
> Jamie
>


Here's a hint about how it works:

This set of formulas (just two) will also find all primes (except
for primes 2 and 3) with a unique set of primes in each of the formulas,
non-primes will also be produced but all the primes (except 2 and 3)
are in those two formulas too.

1+6n
5+6n

for n=0 to n=infinity

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399682

Frompedro <me@privacy.net>
Date2016-02-21 14:21 +0800
Message-ID<8plicbd1okvuqnltrsi0dttoskoqbie0t4@4ax.com>
In reply to#399273
On Thu, 18 Feb 2016 01:53:12 -0800, Jamie M <jmorken@shaw.ca> wrote:

>This set of formulas (just two) will also find all primes (except
>for primes 2 and 3) with a unique set of primes in each of the formulas,
>non-primes will also be produced but all the primes (except 2 and 3)
>are in those two formulas too.
>
>1+6n
>5+6n
>
>for n=0 to n=infinity

Ya reckon?  5+6n where n=5????

[toc] | [prev] | [next] | [standalone]


#399274

FromVirgil <VIRGIL@VIRGIL.com>
Date2016-02-18 02:53 -0700
Message-ID<VIRGIL-E624E3.02535418022016@news.giganews.com>
In reply to#399272
In article <na43oi$mgq$1@gioia.aioe.org>, Jamie M <jmorken@shaw.ca> 
wrote:

> Hi,
> 
> 
> Here is a set of formulas for computing all prime numbers:
> 
> for each go from n=0 to n=infinity and the combined
> outputs will contain all the primes
> 
> 1+60n
> 3+60n
> 7+60n
> 11+60n
> 13+60n
> 17+60n
> 19+60n
> 23+60n
> 29+60n
> 31+60n
> 37+60n
> 41+60n
> 43+60n
> 47+60n
> 49+60n
> 53+60n
> 59+60n

Wrong!  2 is missing from your list!
-- 
Virgil
"Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)

[toc] | [prev] | [next] | [standalone]


#399275

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 01:55 -0800
Message-ID<na44fi$nmm$2@gioia.aioe.org>
In reply to#399274
On 2/18/2016 1:53 AM, Virgil wrote:
> In article <na43oi$mgq$1@gioia.aioe.org>, Jamie M <jmorken@shaw.ca>
> wrote:
>
>> Hi,
>>
>>
>> Here is a set of formulas for computing all prime numbers:
>>
>> for each go from n=0 to n=infinity and the combined
>> outputs will contain all the primes
>>
>> 1+60n
>> 3+60n
>> 7+60n
>> 11+60n
>> 13+60n
>> 17+60n
>> 19+60n
>> 23+60n
>> 29+60n
>> 31+60n
>> 37+60n
>> 41+60n
>> 43+60n
>> 47+60n
>> 49+60n
>> 53+60n
>> 59+60n
>
> Wrong!  2 is missing from your list!
>

Sorry, see the followup message I posted, all primes except 2 and 3 are 
there in that case, and just 2 is missing in this one.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399281

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 02:49 -0800
Message-ID<na47ji$u0l$1@gioia.aioe.org>
In reply to#399272
On 2/18/2016 1:43 AM, Jamie M wrote:
> Hi,
>
>
> Here is a set of formulas for computing all prime numbers:
>
> for each go from n=0 to n=infinity and the combined
> outputs will contain all the primes
>
> 1+60n
> 3+60n
> 7+60n
> 11+60n
> 13+60n
> 17+60n
> 19+60n
> 23+60n
> 29+60n
> 31+60n
> 37+60n
> 41+60n
> 43+60n
> 47+60n
> 49+60n
> 53+60n
> 59+60n
>
> ie for 1+60n
>
> for n = 1,2,3
> 61=1+60*1
> 121=1+60*2
> 181=1+60*3
>
> not all will be prime, but the above formulas will have all the
> primes, and none of them will be repeated, ie each formula will
> produce a unique set of prime numbers, when combined give all
> the primes.
>
> If anyone is interested in how I figured this out I will give a full
> description :D
>
> cheers,
> Jamie
>


Ok here is how i think it works (at least partly)

for the formula's above, ie 7+60n, it will produce
some primes for n=0 to n=infinity as long as 7
integer is prime or an integer power of a prime,
and also as long as it is not a factor of the number
60 in this case, ie 5 although it is prime, will
not produce any primes in the formula 5+60n for
n=0 to n=infiniti as 5 is a factor of 60.

So it is pretty easy to generate other prime creating
formulas knowing this, I still haven't tested it that
much, but the prime distribution is all based around
6, and integer multiples/powers of 6, so I am most
confident that the formula will work in that case, ie
for 6 or 60 in the above examples, but it might work
for other ones too.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399283

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-02-18 11:26 +0000
Message-ID<na49os$11cr$2@gioia.aioe.org>
In reply to#399272
On Thu, 18 Feb 2016 01:43:43 -0800, Jamie M wrote:

> not all will be prime,

  Stupid fuck.

[toc] | [prev] | [next] | [standalone]


#399285

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-18 13:07 +0100
Message-ID<na4c1d$2ml$1@dont-email.me>
In reply to#399272
On 18/02/16 10:43, Jamie M wrote:
> Hi,
> 
> 
> Here is a set of formulas for computing all prime numbers:

How about just the sequence "n" from 1 to infinity?  It will also
contain all the prime numbers, and be equally useless, with exactly the
same characteristics as your list.

> not all will be prime, but the above formulas will have all the
> primes, and none of them will be repeated, ie each formula will
> produce a unique set of prime numbers, when combined give all
> the primes.
> 

No one is interested in a list that contains all the primes, plus lots
of non-primes.  If you could produce a list containing an unlimited
number of primes and /no/ non-primes, even if it does not have /all/ the
primes, then you would be on to something.

[toc] | [prev] | [next] | [standalone]


#399295

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 06:20 -0800
Message-ID<na4k04$1ljq$1@gioia.aioe.org>
In reply to#399285
On 2/18/2016 4:07 AM, David Brown wrote:
> On 18/02/16 10:43, Jamie M wrote:
>> Hi,
>>
>>
>> Here is a set of formulas for computing all prime numbers:
>
> How about just the sequence "n" from 1 to infinity?  It will also
> contain all the prime numbers, and be equally useless, with exactly the
> same characteristics as your list.

Hi,

Yes it has all the primes but the density of primes is lower,
ie out of 60 formulas, 43 don't have any primes, yet all 60
formulas have an equal number of digits, so the density of
primes is something like 3.5x higher as only 17 formulas out
of 60, 28% of the overall digits contain all the primes.

cheers,
Jamie

>
>> not all will be prime, but the above formulas will have all the
>> primes, and none of them will be repeated, ie each formula will
>> produce a unique set of prime numbers, when combined give all
>> the primes.
>>
>
> No one is interested in a list that contains all the primes, plus lots
> of non-primes.  If you could produce a list containing an unlimited
> number of primes and /no/ non-primes, even if it does not have /all/ the
> primes, then you would be on to something.
>

[toc] | [prev] | [next] | [standalone]


#399300

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-18 15:48 +0100
Message-ID<na4lea$67c$1@dont-email.me>
In reply to#399295
On 18/02/16 15:20, Jamie M wrote:
> On 2/18/2016 4:07 AM, David Brown wrote:
>> On 18/02/16 10:43, Jamie M wrote:
>>> Hi,
>>>
>>>
>>> Here is a set of formulas for computing all prime numbers:
>>
>> How about just the sequence "n" from 1 to infinity?  It will also
>> contain all the prime numbers, and be equally useless, with exactly the
>> same characteristics as your list.
> 
> Hi,
> 
> Yes it has all the primes but the density of primes is lower,
> ie out of 60 formulas, 43 don't have any primes, yet all 60
> formulas have an equal number of digits, so the density of
> primes is something like 3.5x higher as only 17 formulas out
> of 60, 28% of the overall digits contain all the primes.
> 

Your formula has a "prime density" that tends towards 0 very rapidly as
n gets bigger - i.e., once you have gone beyond the first few thousand
numbers, almost all numbers generated by the formula are non-primes.
Exactly the same thing applies to my formula.  They are equally useless.

There are a few simple formulas that happen to produce a surprisingly
high density of primes for a while.  P(n) = n² + n + 41 is one such
formula - it produces primes for n from 0 up to 39.  But as n gets
bigger, the density tends to 0 - this is the same for any such formula.
 Thus such formula have no practical applications, and are merely
interesting mathematical curiosities.

Your formula - like mine - is not one of these unusual high density
formula.  It is therefore not interesting or special in any way.

[toc] | [prev] | [next] | [standalone]


#399302

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 06:53 -0800
Message-ID<na4ltr$1p22$1@gioia.aioe.org>
In reply to#399300
On 2/18/2016 6:48 AM, David Brown wrote:
> On 18/02/16 15:20, Jamie M wrote:
>> On 2/18/2016 4:07 AM, David Brown wrote:
>>> On 18/02/16 10:43, Jamie M wrote:
>>>> Hi,
>>>>
>>>>
>>>> Here is a set of formulas for computing all prime numbers:
>>>
>>> How about just the sequence "n" from 1 to infinity?  It will also
>>> contain all the prime numbers, and be equally useless, with exactly the
>>> same characteristics as your list.
>>
>> Hi,
>>
>> Yes it has all the primes but the density of primes is lower,
>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>> formulas have an equal number of digits, so the density of
>> primes is something like 3.5x higher as only 17 formulas out
>> of 60, 28% of the overall digits contain all the primes.
>>
>
> Your formula has a "prime density" that tends towards 0 very rapidly as
> n gets bigger - i.e., once you have gone beyond the first few thousand
> numbers, almost all numbers generated by the formula are non-primes.
> Exactly the same thing applies to my formula.  They are equally useless.
>
> There are a few simple formulas that happen to produce a surprisingly
> high density of primes for a while.  P(n) = n² + n + 41 is one such
> formula - it produces primes for n from 0 up to 39.  But as n gets
> bigger, the density tends to 0 - this is the same for any such formula.
>   Thus such formula have no practical applications, and are merely
> interesting mathematical curiosities.
>
> Your formula - like mine - is not one of these unusual high density
> formula.  It is therefore not interesting or special in any way.
>

Hi,

Yes the prime occurrence tends to zero as n approaches infinity, but
even so it is always 3.5x higher density than the sequence "n" from 1
to infinity is.  The formulas I gave produce ALL the primes unlike
the P(n) = n² + n + 41 formula.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399310

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-18 17:37 +0100
Message-ID<na4rqr$g2$1@dont-email.me>
In reply to#399302
On 18/02/16 15:53, Jamie M wrote:

> Hi,
> 
> Yes the prime occurrence tends to zero as n approaches infinity, but
> even so it is always 3.5x higher density than the sequence "n" from 1
> to infinity is.  The formulas I gave produce ALL the primes unlike
> the P(n) = n² + n + 41 formula.
> 

3.5 times higher than useless is still useless.

What do you think is the point of your list?  What could you or anyone
else do with a list that has a mix of primes and non-primes?  Your list
is nothing more or less than all positive integers with multiples of 2,
3 and 5 removed.  It can't be used by anyone looking for prime numbers,
and it does not show any curious patterns or interesting mathematics.


[toc] | [prev] | [next] | [standalone]


#399304

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 07:09 -0800
Message-ID<na4mrr$1r96$1@gioia.aioe.org>
In reply to#399300
On 2/18/2016 6:48 AM, David Brown wrote:
> On 18/02/16 15:20, Jamie M wrote:
>> On 2/18/2016 4:07 AM, David Brown wrote:
>>> On 18/02/16 10:43, Jamie M wrote:
>>>> Hi,
>>>>
>>>>
>>>> Here is a set of formulas for computing all prime numbers:
>>>
>>> How about just the sequence "n" from 1 to infinity?  It will also
>>> contain all the prime numbers, and be equally useless, with exactly the
>>> same characteristics as your list.
>>
>> Hi,
>>
>> Yes it has all the primes but the density of primes is lower,
>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>> formulas have an equal number of digits, so the density of
>> primes is something like 3.5x higher as only 17 formulas out
>> of 60, 28% of the overall digits contain all the primes.
>>
>
> Your formula has a "prime density" that tends towards 0 very rapidly as
> n gets bigger - i.e., once you have gone beyond the first few thousand
> numbers, almost all numbers generated by the formula are non-primes.
> Exactly the same thing applies to my formula.  They are equally useless.
>
> There are a few simple formulas that happen to produce a surprisingly
> high density of primes for a while.  P(n) = n² + n + 41 is one such
> formula - it produces primes for n from 0 up to 39.  But as n gets
> bigger, the density tends to 0 - this is the same for any such formula.
>   Thus such formula have no practical applications, and are merely
> interesting mathematical curiosities.
>
> Your formula - like mine - is not one of these unusual high density
> formula.  It is therefore not interesting or special in any way.
>


Hi,

Also the prime number density can be increased beyond 3.5x (for 60n)
ie. for 60^3*n, that is 216000, and the values for:

a+60^3n for a are just the prime numbers or powers of prime numbers
below 216000 that are also not divisors of 216000 (I believe).

So the number of formulas decreases in this case, but the overall
number of formulas used to generate all possible positive integers
is still 216000, so the prime generating formulas are a small
subset of the overall and have increasing density u increases in 60^u

cheers,
Jamie



[toc] | [prev] | [next] | [standalone]


#399311

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-18 17:44 +0100
Message-ID<na4s73$217$1@dont-email.me>
In reply to#399304
On 18/02/16 16:09, Jamie M wrote:
> On 2/18/2016 6:48 AM, David Brown wrote:
>> On 18/02/16 15:20, Jamie M wrote:
>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>> Hi,
>>>>>
>>>>>
>>>>> Here is a set of formulas for computing all prime numbers:
>>>>
>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>> contain all the prime numbers, and be equally useless, with exactly the
>>>> same characteristics as your list.
>>>
>>> Hi,
>>>
>>> Yes it has all the primes but the density of primes is lower,
>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>> formulas have an equal number of digits, so the density of
>>> primes is something like 3.5x higher as only 17 formulas out
>>> of 60, 28% of the overall digits contain all the primes.
>>>
>>
>> Your formula has a "prime density" that tends towards 0 very rapidly as
>> n gets bigger - i.e., once you have gone beyond the first few thousand
>> numbers, almost all numbers generated by the formula are non-primes.
>> Exactly the same thing applies to my formula.  They are equally useless.
>>
>> There are a few simple formulas that happen to produce a surprisingly
>> high density of primes for a while.  P(n) = n² + n + 41 is one such
>> formula - it produces primes for n from 0 up to 39.  But as n gets
>> bigger, the density tends to 0 - this is the same for any such formula.
>>   Thus such formula have no practical applications, and are merely
>> interesting mathematical curiosities.
>>
>> Your formula - like mine - is not one of these unusual high density
>> formula.  It is therefore not interesting or special in any way.
>>
> 
> 
> Hi,
> 
> Also the prime number density can be increased beyond 3.5x (for 60n)
> ie. for 60^3*n, that is 216000, and the values for:
> 
> a+60^3n for a are just the prime numbers or powers of prime numbers
> below 216000 that are also not divisors of 216000 (I believe).
> 
> So the number of formulas decreases in this case, but the overall
> number of formulas used to generate all possible positive integers
> is still 216000, so the prime generating formulas are a small
> subset of the overall and have increasing density u increases in 60^u
> 
> cheers,
> Jamie
> 

You can make up any formula you like - they just produce a list of
numbers, some of which are prime and some of which are non-prime, and
the prime density quickly heads to 0 as you go down the list.

If you can find a sequence whose asymptotic behaviour beats 1/log(N) for
prime density, then you will have found something useful.  If you can
find a sequence whose prime density at low values is unusually high
(such as n² + n + 41), then you will have found something interesting.

Until then, you are just playing around.  (There is nothing wrong with
playing around with numbers, formula and mathematics - it can be fun and
educational.  It's only when you posts these things as though they were
great revelations and mathematical breakthroughs that you look silly.)

[toc] | [prev] | [next] | [standalone]


#399341

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 13:18 -0800
Message-ID<na5cef$12na$1@gioia.aioe.org>
In reply to#399311
On 2/18/2016 8:44 AM, David Brown wrote:
> On 18/02/16 16:09, Jamie M wrote:
>> On 2/18/2016 6:48 AM, David Brown wrote:
>>> On 18/02/16 15:20, Jamie M wrote:
>>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>
>>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>>> contain all the prime numbers, and be equally useless, with exactly the
>>>>> same characteristics as your list.
>>>>
>>>> Hi,
>>>>
>>>> Yes it has all the primes but the density of primes is lower,
>>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>>> formulas have an equal number of digits, so the density of
>>>> primes is something like 3.5x higher as only 17 formulas out
>>>> of 60, 28% of the overall digits contain all the primes.
>>>>
>>>
>>> Your formula has a "prime density" that tends towards 0 very rapidly as
>>> n gets bigger - i.e., once you have gone beyond the first few thousand
>>> numbers, almost all numbers generated by the formula are non-primes.
>>> Exactly the same thing applies to my formula.  They are equally useless.
>>>
>>> There are a few simple formulas that happen to produce a surprisingly
>>> high density of primes for a while.  P(n) = n² + n + 41 is one such
>>> formula - it produces primes for n from 0 up to 39.  But as n gets
>>> bigger, the density tends to 0 - this is the same for any such formula.
>>>    Thus such formula have no practical applications, and are merely
>>> interesting mathematical curiosities.
>>>
>>> Your formula - like mine - is not one of these unusual high density
>>> formula.  It is therefore not interesting or special in any way.
>>>
>>
>>
>> Hi,
>>
>> Also the prime number density can be increased beyond 3.5x (for 60n)
>> ie. for 60^3*n, that is 216000, and the values for:
>>
>> a+60^3n for a are just the prime numbers or powers of prime numbers
>> below 216000 that are also not divisors of 216000 (I believe).
>>
>> So the number of formulas decreases in this case, but the overall
>> number of formulas used to generate all possible positive integers
>> is still 216000, so the prime generating formulas are a small
>> subset of the overall and have increasing density u increases in 60^u
>>
>> cheers,
>> Jamie
>>
>
> You can make up any formula you like - they just produce a list of
> numbers, some of which are prime and some of which are non-prime, and
> the prime density quickly heads to 0 as you go down the list.
>
> If you can find a sequence whose asymptotic behaviour beats 1/log(N) for
> prime density, then you will have found something useful.  If you can
> find a sequence whose prime density at low values is unusually high
> (such as n² + n + 41), then you will have found something interesting.
>
> Until then, you are just playing around.  (There is nothing wrong with
> playing around with numbers, formula and mathematics - it can be fun and
> educational.  It's only when you posts these things as though they were
> great revelations and mathematical breakthroughs that you look silly.)
>
>


Hi,

Ok what about this pattern I found in the distribution of primes:

I generated a list of all the primes in the first 1billion digits,
then counted the spacing between all the primes, and got this result:

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!?

cheers,
Jamie


{ Name = 1, Count = 1 }
{ Name = 2, Count = 3424506 }
{ Name = 4, Count = 3424679 }
{ Name = 6, Count = 6089791 }
{ Name = 8, Count = 2695109 }
{ Name = 10, Count = 3484767 }
{ Name = 12, Count = 4468957 }
{ Name = 14, Count = 2464565 }
{ Name = 16, Count = 1846097 }
{ Name = 18, Count = 3351032 }
{ Name = 20, Count = 1824043 }
{ Name = 22, Count = 1569679 }
{ Name = 24, Count = 2367474 }
{ Name = 26, Count = 1119585 }
{ Name = 28, Count = 1219243 }
{ Name = 30, Count = 2177991 }
{ Name = 32, Count = 683896 }
{ Name = 34, Count = 719531 }
{ Name = 36, Count = 1171524 }
{ Name = 38, Count = 548746 }
{ Name = 40, Count = 648780 }
{ Name = 42, Count = 954456 }
{ Name = 44, Count = 389634 }
{ Name = 46, Count = 334720 }
{ Name = 48, Count = 577247 }
{ Name = 50, Count = 328066 }
{ Name = 52, Count = 245804 }
{ Name = 54, Count = 410754 }
{ Name = 56, Count = 211462 }
{ Name = 58, Count = 181948 }
{ Name = 60, Count = 371839 }
{ Name = 62, Count = 115558 }
{ Name = 64, Count = 118951 }
{ Name = 66, Count = 216787 }
{ Name = 68, Count = 88396 }
{ Name = 70, Count = 125564 }
{ Name = 72, Count = 126663 }
{ Name = 74, Count = 62526 }
{ Name = 76, Count = 55113 }
{ Name = 78, Count = 105313 }
{ Name = 80, Count = 53522 }
{ Name = 82, Count = 37982 }
{ Name = 84, Count = 78077 }
{ Name = 86, Count = 27793 }
{ Name = 88, Count = 28878 }
{ Name = 90, Count = 58057 }
{ Name = 92, Count = 19282 }
{ Name = 94, Count = 17669 }
{ Name = 96, Count = 31078 }
{ Name = 98, Count = 16175 }
{ Name = 100, Count = 16900 }
{ Name = 102, Count = 22393 }
{ Name = 104, Count = 10310 }
{ Name = 106, Count = 8719 }
{ Name = 108, Count = 15459 }
{ Name = 110, Count = 9065 }
{ Name = 112, Count = 7139 }
{ Name = 114, Count = 10892 }
{ Name = 116, Count = 4710 }
{ Name = 118, Count = 4502 }
{ Name = 120, Count = 9621 }
{ Name = 122, Count = 2975 }
{ Name = 124, Count = 3136 }
{ Name = 126, Count = 5863 }
{ Name = 128, Count = 2043 }
{ Name = 130, Count = 2813 }
{ Name = 132, Count = 3510 }
{ Name = 134, Count = 1487 }
{ Name = 136, Count = 1297 }
{ Name = 138, Count = 2589 }
{ Name = 140, Count = 1516 }
{ Name = 142, Count = 953 }
{ Name = 144, Count = 1555 }
{ Name = 146, Count = 668 }
{ Name = 148, Count = 724 }
{ Name = 150, Count = 1486 }
{ Name = 152, Count = 506 }
{ Name = 154, Count = 583 }
{ Name = 156, Count = 798 }
{ Name = 158, Count = 306 }
{ Name = 160, Count = 360 }
{ Name = 162, Count = 534 }
{ Name = 164, Count = 247 }
{ Name = 166, Count = 182 }
{ Name = 168, Count = 443 }
{ Name = 170, Count = 198 }
{ Name = 172, Count = 158 }
{ Name = 174, Count = 255 }
{ Name = 176, Count = 128 }
{ Name = 178, Count = 106 }
{ Name = 180, Count = 200 }
{ Name = 182, Count = 80 }
{ Name = 184, Count = 89 }
{ Name = 186, Count = 101 }
{ Name = 188, Count = 33 }
{ Name = 190, Count = 63 }
{ Name = 192, Count = 74 }
{ Name = 194, Count = 32 }
{ Name = 196, Count = 41 }
{ Name = 198, Count = 73 }
{ Name = 200, Count = 28 }
{ Name = 202, Count = 23 }
{ Name = 204, Count = 46 }
{ Name = 206, Count = 13 }
{ Name = 208, Count = 18 }
{ Name = 210, Count = 48 }
{ Name = 212, Count = 12 }
{ Name = 214, Count = 11 }
{ Name = 216, Count = 15 }
{ Name = 218, Count = 6 }
{ Name = 220, Count = 12 }
{ Name = 222, Count = 11 }
{ Name = 224, Count = 6 }
{ Name = 226, Count = 6 }
{ Name = 228, Count = 3 }
{ Name = 230, Count = 3 }
{ Name = 232, Count = 1 }
{ Name = 234, Count = 13 }
{ Name = 236, Count = 5 }
{ Name = 238, Count = 1 }
{ Name = 240, Count = 5 }
{ Name = 242, Count = 4 }
{ Name = 244, Count = 2 }
{ Name = 246, Count = 4 }
{ Name = 248, Count = 4 }
{ Name = 250, Count = 4 }
{ Name = 252, Count = 1 }
{ Name = 260, Count = 1 }
{ Name = 276, Count = 1 }
{ Name = 282, Count = 1 }





[toc] | [prev] | [next] | [standalone]


#399428

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-19 11:40 +0100
Message-ID<na6r9r$d0m$1@dont-email.me>
In reply to#399341
On 18/02/16 22:18, Jamie M wrote:
> On 2/18/2016 8:44 AM, David Brown wrote:
>> On 18/02/16 16:09, Jamie M wrote:
>>> On 2/18/2016 6:48 AM, David Brown wrote:
>>>> On 18/02/16 15:20, Jamie M wrote:
>>>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>>
>>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>>
>>>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>>>> contain all the prime numbers, and be equally useless, with
>>>>>> exactly the
>>>>>> same characteristics as your list.
>>>>>
>>>>> Hi,
>>>>>
>>>>> Yes it has all the primes but the density of primes is lower,
>>>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>>>> formulas have an equal number of digits, so the density of
>>>>> primes is something like 3.5x higher as only 17 formulas out
>>>>> of 60, 28% of the overall digits contain all the primes.
>>>>>
>>>>
>>>> Your formula has a "prime density" that tends towards 0 very rapidly as
>>>> n gets bigger - i.e., once you have gone beyond the first few thousand
>>>> numbers, almost all numbers generated by the formula are non-primes.
>>>> Exactly the same thing applies to my formula.  They are equally
>>>> useless.
>>>>
>>>> There are a few simple formulas that happen to produce a surprisingly
>>>> high density of primes for a while.  P(n) = n² + n + 41 is one such
>>>> formula - it produces primes for n from 0 up to 39.  But as n gets
>>>> bigger, the density tends to 0 - this is the same for any such formula.
>>>>    Thus such formula have no practical applications, and are merely
>>>> interesting mathematical curiosities.
>>>>
>>>> Your formula - like mine - is not one of these unusual high density
>>>> formula.  It is therefore not interesting or special in any way.
>>>>
>>>
>>>
>>> Hi,
>>>
>>> Also the prime number density can be increased beyond 3.5x (for 60n)
>>> ie. for 60^3*n, that is 216000, and the values for:
>>>
>>> a+60^3n for a are just the prime numbers or powers of prime numbers
>>> below 216000 that are also not divisors of 216000 (I believe).
>>>
>>> So the number of formulas decreases in this case, but the overall
>>> number of formulas used to generate all possible positive integers
>>> is still 216000, so the prime generating formulas are a small
>>> subset of the overall and have increasing density u increases in 60^u
>>>
>>> cheers,
>>> Jamie
>>>
>>
>> You can make up any formula you like - they just produce a list of
>> numbers, some of which are prime and some of which are non-prime, and
>> the prime density quickly heads to 0 as you go down the list.
>>
>> If you can find a sequence whose asymptotic behaviour beats 1/log(N) for
>> prime density, then you will have found something useful.  If you can
>> find a sequence whose prime density at low values is unusually high
>> (such as n² + n + 41), then you will have found something interesting.
>>
>> Until then, you are just playing around.  (There is nothing wrong with
>> playing around with numbers, formula and mathematics - it can be fun and
>> educational.  It's only when you posts these things as though they were
>> great revelations and mathematical breakthroughs that you look silly.)
>>
>>
> 
> 
> Hi,
> 
> Ok what about this pattern I found in the distribution of primes:
> 
> I generated a list of all the primes in the first 1billion digits,
> then counted the spacing between all the primes, and got this result:

I suspect you mean you had a list of the primes up to 1 billion, which
is completely different from 1 billion digits.  The largest known prime
has only 22 million digits.  And I hope you used a real prime generator,
not your formula.

> 
> 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.

mvh.,

David



> 
> cheers,
> Jamie
> 
> 
> { Name = 1, Count = 1 }
> { Name = 2, Count = 3424506 }
> { Name = 4, Count = 3424679 }
> { Name = 6, Count = 6089791 }
> { Name = 8, Count = 2695109 }
> { Name = 10, Count = 3484767 }
> { Name = 12, Count = 4468957 }
> { Name = 14, Count = 2464565 }
> { Name = 16, Count = 1846097 }
> { Name = 18, Count = 3351032 }
> { Name = 20, Count = 1824043 }
> { Name = 22, Count = 1569679 }
> { Name = 24, Count = 2367474 }
> { Name = 26, Count = 1119585 }
> { Name = 28, Count = 1219243 }
> { Name = 30, Count = 2177991 }
> { Name = 32, Count = 683896 }
> { Name = 34, Count = 719531 }
> { Name = 36, Count = 1171524 }
> { Name = 38, Count = 548746 }
> { Name = 40, Count = 648780 }
> { Name = 42, Count = 954456 }
> { Name = 44, Count = 389634 }
> { Name = 46, Count = 334720 }
> { Name = 48, Count = 577247 }
> { Name = 50, Count = 328066 }
> { Name = 52, Count = 245804 }
> { Name = 54, Count = 410754 }
> { Name = 56, Count = 211462 }
> { Name = 58, Count = 181948 }
> { Name = 60, Count = 371839 }
> { Name = 62, Count = 115558 }
> { Name = 64, Count = 118951 }
> { Name = 66, Count = 216787 }
> { Name = 68, Count = 88396 }
> { Name = 70, Count = 125564 }
> { Name = 72, Count = 126663 }
> { Name = 74, Count = 62526 }
> { Name = 76, Count = 55113 }
> { Name = 78, Count = 105313 }
> { Name = 80, Count = 53522 }
> { Name = 82, Count = 37982 }
> { Name = 84, Count = 78077 }
> { Name = 86, Count = 27793 }
> { Name = 88, Count = 28878 }
> { Name = 90, Count = 58057 }
> { Name = 92, Count = 19282 }
> { Name = 94, Count = 17669 }
> { Name = 96, Count = 31078 }
> { Name = 98, Count = 16175 }
> { Name = 100, Count = 16900 }
> { Name = 102, Count = 22393 }
> { Name = 104, Count = 10310 }
> { Name = 106, Count = 8719 }
> { Name = 108, Count = 15459 }
> { Name = 110, Count = 9065 }
> { Name = 112, Count = 7139 }
> { Name = 114, Count = 10892 }
> { Name = 116, Count = 4710 }
> { Name = 118, Count = 4502 }
> { Name = 120, Count = 9621 }
> { Name = 122, Count = 2975 }
> { Name = 124, Count = 3136 }
> { Name = 126, Count = 5863 }
> { Name = 128, Count = 2043 }
> { Name = 130, Count = 2813 }
> { Name = 132, Count = 3510 }
> { Name = 134, Count = 1487 }
> { Name = 136, Count = 1297 }
> { Name = 138, Count = 2589 }
> { Name = 140, Count = 1516 }
> { Name = 142, Count = 953 }
> { Name = 144, Count = 1555 }
> { Name = 146, Count = 668 }
> { Name = 148, Count = 724 }
> { Name = 150, Count = 1486 }
> { Name = 152, Count = 506 }
> { Name = 154, Count = 583 }
> { Name = 156, Count = 798 }
> { Name = 158, Count = 306 }
> { Name = 160, Count = 360 }
> { Name = 162, Count = 534 }
> { Name = 164, Count = 247 }
> { Name = 166, Count = 182 }
> { Name = 168, Count = 443 }
> { Name = 170, Count = 198 }
> { Name = 172, Count = 158 }
> { Name = 174, Count = 255 }
> { Name = 176, Count = 128 }
> { Name = 178, Count = 106 }
> { Name = 180, Count = 200 }
> { Name = 182, Count = 80 }
> { Name = 184, Count = 89 }
> { Name = 186, Count = 101 }
> { Name = 188, Count = 33 }
> { Name = 190, Count = 63 }
> { Name = 192, Count = 74 }
> { Name = 194, Count = 32 }
> { Name = 196, Count = 41 }
> { Name = 198, Count = 73 }
> { Name = 200, Count = 28 }
> { Name = 202, Count = 23 }
> { Name = 204, Count = 46 }
> { Name = 206, Count = 13 }
> { Name = 208, Count = 18 }
> { Name = 210, Count = 48 }
> { Name = 212, Count = 12 }
> { Name = 214, Count = 11 }
> { Name = 216, Count = 15 }
> { Name = 218, Count = 6 }
> { Name = 220, Count = 12 }
> { Name = 222, Count = 11 }
> { Name = 224, Count = 6 }
> { Name = 226, Count = 6 }
> { Name = 228, Count = 3 }
> { Name = 230, Count = 3 }
> { Name = 232, Count = 1 }
> { Name = 234, Count = 13 }
> { Name = 236, Count = 5 }
> { Name = 238, Count = 1 }
> { Name = 240, Count = 5 }
> { Name = 242, Count = 4 }
> { Name = 244, Count = 2 }
> { Name = 246, Count = 4 }
> { Name = 248, Count = 4 }
> { Name = 250, Count = 4 }
> { Name = 252, Count = 1 }
> { Name = 260, Count = 1 }
> { Name = 276, Count = 1 }
> { Name = 282, Count = 1 }
> 
> 
> 
> 
> 
> 

[toc] | [prev] | [next] | [standalone]


#399430

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-02-19 11:32 +0000
Message-ID<na6ugo$15p4$1@gioia.aioe.org>
In reply to#399428
On Fri, 19 Feb 2016 11:40:44 +0100, David Brown wrote:

>  But it is not a
> mathematical breakthrough.

  Look at the source and that is instantly evident.

[toc] | [prev] | [next] | [standalone]


#399553

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 02:15 -0800
Message-ID<na9eb8$1094$1@gioia.aioe.org>
In reply to#399428
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
>
>
>

[toc] | [prev] | [next] | [standalone]


#399345

FromJamie M <jmorken@shaw.ca>
Date2016-02-18 13:39 -0800
Message-ID<na5dn3$14j5$1@gioia.aioe.org>
In reply to#399311
On 2/18/2016 8:44 AM, David Brown wrote:
> On 18/02/16 16:09, Jamie M wrote:
>> On 2/18/2016 6:48 AM, David Brown wrote:
>>> On 18/02/16 15:20, Jamie M wrote:
>>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>
>>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>>> contain all the prime numbers, and be equally useless, with exactly the
>>>>> same characteristics as your list.
>>>>
>>>> Hi,
>>>>
>>>> Yes it has all the primes but the density of primes is lower,
>>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>>> formulas have an equal number of digits, so the density of
>>>> primes is something like 3.5x higher as only 17 formulas out
>>>> of 60, 28% of the overall digits contain all the primes.
>>>>
>>>
>>> Your formula has a "prime density" that tends towards 0 very rapidly as
>>> n gets bigger - i.e., once you have gone beyond the first few thousand
>>> numbers, almost all numbers generated by the formula are non-primes.
>>> Exactly the same thing applies to my formula.  They are equally useless.
>>>
>>> There are a few simple formulas that happen to produce a surprisingly
>>> high density of primes for a while.  P(n) = n² + n + 41 is one such
>>> formula - it produces primes for n from 0 up to 39.  But as n gets
>>> bigger, the density tends to 0 - this is the same for any such formula.
>>>    Thus such formula have no practical applications, and are merely
>>> interesting mathematical curiosities.
>>>
>>> Your formula - like mine - is not one of these unusual high density
>>> formula.  It is therefore not interesting or special in any way.
>>>
>>
>>
>> Hi,
>>
>> Also the prime number density can be increased beyond 3.5x (for 60n)
>> ie. for 60^3*n, that is 216000, and the values for:
>>
>> a+60^3n for a are just the prime numbers or powers of prime numbers
>> below 216000 that are also not divisors of 216000 (I believe).
>>
>> So the number of formulas decreases in this case, but the overall
>> number of formulas used to generate all possible positive integers
>> is still 216000, so the prime generating formulas are a small
>> subset of the overall and have increasing density u increases in 60^u
>>
>> cheers,
>> Jamie
>>
>
> You can make up any formula you like - they just produce a list of
> numbers, some of which are prime and some of which are non-prime, and
> the prime density quickly heads to 0 as you go down the list.
>
> If you can find a sequence whose asymptotic behaviour beats 1/log(N) for
> prime density, then you will have found something useful.  If you can
> find a sequence whose prime density at low values is unusually high
> (such as n² + n + 41), then you will have found something interesting.
>
> Until then, you are just playing around.  (There is nothing wrong with
> playing around with numbers, formula and mathematics - it can be fun and
> educational.  It's only when you posts these things as though they were
> great revelations and mathematical breakthroughs that you look silly.)
>
>

Hi,

You are still missing the point, the formulas contain all the primes:

ie

each indexed prime n other than 3 or 2 are found by 5+n*6 or 7 +n*6
to infinity

showing the importance of the 6 multiple.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#399429

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-19 11:46 +0100
Message-ID<na6rkd$e3i$1@dont-email.me>
In reply to#399345
On 18/02/16 22:39, Jamie M wrote:
> On 2/18/2016 8:44 AM, David Brown wrote:
>> On 18/02/16 16:09, Jamie M wrote:
>>> On 2/18/2016 6:48 AM, David Brown wrote:
>>>> On 18/02/16 15:20, Jamie M wrote:
>>>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>>
>>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>>
>>>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>>>> contain all the prime numbers, and be equally useless, with
>>>>>> exactly the
>>>>>> same characteristics as your list.
>>>>>
>>>>> Hi,
>>>>>
>>>>> Yes it has all the primes but the density of primes is lower,
>>>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>>>> formulas have an equal number of digits, so the density of
>>>>> primes is something like 3.5x higher as only 17 formulas out
>>>>> of 60, 28% of the overall digits contain all the primes.
>>>>>
>>>>
>>>> Your formula has a "prime density" that tends towards 0 very rapidly as
>>>> n gets bigger - i.e., once you have gone beyond the first few thousand
>>>> numbers, almost all numbers generated by the formula are non-primes.
>>>> Exactly the same thing applies to my formula.  They are equally
>>>> useless.
>>>>
>>>> There are a few simple formulas that happen to produce a surprisingly
>>>> high density of primes for a while.  P(n) = n² + n + 41 is one such
>>>> formula - it produces primes for n from 0 up to 39.  But as n gets
>>>> bigger, the density tends to 0 - this is the same for any such formula.
>>>>    Thus such formula have no practical applications, and are merely
>>>> interesting mathematical curiosities.
>>>>
>>>> Your formula - like mine - is not one of these unusual high density
>>>> formula.  It is therefore not interesting or special in any way.
>>>>
>>>
>>>
>>> Hi,
>>>
>>> Also the prime number density can be increased beyond 3.5x (for 60n)
>>> ie. for 60^3*n, that is 216000, and the values for:
>>>
>>> a+60^3n for a are just the prime numbers or powers of prime numbers
>>> below 216000 that are also not divisors of 216000 (I believe).
>>>
>>> So the number of formulas decreases in this case, but the overall
>>> number of formulas used to generate all possible positive integers
>>> is still 216000, so the prime generating formulas are a small
>>> subset of the overall and have increasing density u increases in 60^u
>>>
>>> cheers,
>>> Jamie
>>>
>>
>> You can make up any formula you like - they just produce a list of
>> numbers, some of which are prime and some of which are non-prime, and
>> the prime density quickly heads to 0 as you go down the list.
>>
>> If you can find a sequence whose asymptotic behaviour beats 1/log(N) for
>> prime density, then you will have found something useful.  If you can
>> find a sequence whose prime density at low values is unusually high
>> (such as n² + n + 41), then you will have found something interesting.
>>
>> Until then, you are just playing around.  (There is nothing wrong with
>> playing around with numbers, formula and mathematics - it can be fun and
>> educational.  It's only when you posts these things as though they were
>> great revelations and mathematical breakthroughs that you look silly.)
>>
>>
> 
> Hi,
> 
> You are still missing the point, the formulas contain all the primes:
> 
> ie
> 
> each indexed prime n other than 3 or 2 are found by 5+n*6 or 7 +n*6
> to infinity
> 
> showing the importance of the 6 multiple.
> 

No, /you/ are missing the point.  You can make any sort of list in that
style that includes all primes:

n
2n + 1
3n + 1 and 3n + 2
6n + 1 and 6n + 5
15n + 1, 15n + 2, 15n + 4, 15n + 7, 15n + 8, 15n + 11, 15n + 13,
					and 15n + 14

You might like to see if you can figure out the pattern here for these
formula.

6 just happens to be a nice choice because it is a particular common
spacing, and thus the resulting list has a higher prime density than
other lists of this type.  But there is no fundamental difference in the
way these work.



[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.electronics.design


csiph-web