Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.math > #328168 > unrolled thread
| Started by | Jamie M <jmorken@shaw.ca> |
|---|---|
| First post | 2016-02-18 01:43 -0800 |
| Last post | 2016-02-20 20:46 -0800 |
| Articles | 6 on this page of 66 — 12 participants |
Back to article view | Back to sci.math
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
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | bert <bert.hutchings@btinternet.com> |
|---|---|
| Date | 2016-02-18 05:58 -0800 |
| Message-ID | <bcb5e23e-a8c9-408f-a17d-2a10b12c46ca@googlegroups.com> |
| In reply to | #328185 |
On Thursday, 18 February 2016 12:32:06 UTC, Sylvia Else wrote: > On 18/02/2016 8:43 PM, Jamie M wrote: > > Here is a set of formulas for computing all prime numbers: > > 1+60n > > 3+60n > > etc. > > . . . it's mind numbingly trivial, pointless, and useless. Yes, true, but cut this guy a little more slack, okay? From a position of almost total ignorance, he's worked out something that he didn't know before. You can insult him if his further posts show that he won't read up any related material and that he keeps thinking that he's ahead of the field. --
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-02-18 06:45 -0800 |
| Message-ID | <na4len$1ofc$1@gioia.aioe.org> |
| In reply to | #328189 |
On 2/18/2016 5:58 AM, bert wrote: > On Thursday, 18 February 2016 12:32:06 UTC, Sylvia Else wrote: >> On 18/02/2016 8:43 PM, Jamie M wrote: >>> Here is a set of formulas for computing all prime numbers: >>> 1+60n >>> 3+60n >>> etc. >> >> . . . it's mind numbingly trivial, pointless, and useless. > > Yes, true, but cut this guy a little more slack, okay? From > a position of almost total ignorance, he's worked out something > that he didn't know before. You can insult him if his further > posts show that he won't read up any related material and that > he keeps thinking that he's ahead of the field. > Lol, see what you make of this: The way I "figured" this stuff out: I started with the sequence of primes up to 1billion+ etc 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53... From this sequence I generated a new "gap" sequence: 1,2,2,4,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4.. which is the gap between consecutive digits in the prime sequence. Then I used a custom algorithm on that sequence that removes all pairs of unique digits that repeat at least twice, ie all 2,4 are removed. After doing that step I check the "gap" of the remaining digits and this is what I got: 1,2,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,18,6,18,6,6,6,6,6,6,6,6,6, 6,6,6,6,6,6,6,12,6,6,6,6,6,6,18,6,6,6,6,86,6,6,6,6,18,6,6,6,78,6,18,6,6,6,6,6, 6,6,6,6,6,6,6,6,12,6,6,6,6,..... I tested this type of algorithm on lots of different areas of digits in the prime numbers and the 6 gap always stands out. So I decided to make a hexagon and fill it in with numbers in concentric circles (kind of like a prime number spiral), and then noticed all the prime numbers are only in two arms of the hexagon. 1+6n and 5+6n I noticed that the gap sequence has multiples of 6, ie 18, so decided to make a 60 sided "Hexacontagon" (didn't know it was called that) and filled it in with all the positive integers in concentric circles, 60 digits per circle, and noticed that all the prime numbers exist in 17 of the hexacontagon arms, and these arms first digits were all prime numbers or powers of prime numbers, and also not divisors of 60. So that is about it :D Here are some more gap sequences with the repeating pairs removed from different areas on the prime numbers: prime gap sequence 50,900,000 to 60,000,000 (100,000 prime gaps) 6,6,6,12,18,132,12,12,6,6,12,6,12,18,6,6,12,6,6,6,6,6,6,104,6,6,6,12,6,18,6,6,6,6, 6,6,6,6,6,18,6,24,12,136,18,146,6,6,12,6,6,18,6,6,6,6,12,114,18,12,12,6,6,12,6,12, 12,6,6,42,6,12,6,6,6,12,12,6,6,18,6,6,24,36,18,6,6,6,6,12,6,6,12,12,6,6,144,18,6,12, 108,6,6,6,12,6,6,6,6,6,12,6,12,12,6,12,6,6,12,12,6,6,18,12,6,6,6,6,6,6,24,6,6,6,6,6, 6,6,6,6,6,6,6,6,12,6,6,6,12,18,6,6,18,174,6,12,6,6,6,6,6,124,6,6,6,6,6,6,6,6,6,12,6, 6,18,6,6,6,12,6,18,6,6,30,160,18,18,6,6,18,12,6,6,12,6,12,6,156,6,12,6,6,6,6,6,6,12, 6,18,12,156,18,6,30,6,12,12,158,6,12,120,106,18,6,6,178,24,6,6,6,6,6,6,18,12,6,12,6, 12,12,12,12,6,6,12,6,6,6,6,6,18,30,18,6,6,12,6,18,6,12,6,12,18,120,6,6,6,6,12,6,6,12, 114,6,6,12,12,6,6,30,12,6,6,30,6,6,12,6,18,6,6,6,30,30,6,12,6,6,6,6,6,6,12,6,6,6,12, 6,6,6,6,6,18,12,6,6,6,24,6,6,6,6,12,12,6,6,154,12,12,6,6,140,12,6,6,6,6,6,6,6,6,18,6, 6,12,6,18,6,6,30,96,6,12,6,6,6,12,6,6,12,12,6,6,6,6,30,18,6,18,30,12,6,6,6,18,12,6,12, 6,6,130,6,6,6,18,6,6,12,6,6,12,12,6,6,12,6,18,6,6,6,154,6,6,18,12,12,18,6,12,6,6,6,6, 6,12,6,134,6,6,6,6,12,6,6,6,6,18,6,18,6,6,6,12,6,12,30,6,6,48,6,18,6,6,24,6,18,6,6,12, 6,6,12,6,12,30,12,12,6,6,12,6,12,18,12,6,6,6,6,6,12,12,6,6,6,12,12,112,12,122,6,6,12, 24,6,6,6,6,12,6,6,6,6,18,12,6,6,12,12,12,6,6,6,12,6,6,6,6,6,6,6,12,6,6,6,12,12,18,6,6, 24,6,6,6,6,6,6,6,24,6,18,12,12,6,18,6,12,12,18,6,6,6,6,12,18,6,6,6,6,6,24,6,6,18,18,12, 6,6,12,6,138,18,6,24,6,18,18,12,6,12,6,6,6,6,74,6,6,30,12,6,6,6,24,12,6,138,6,6,12,6,6, 6,6,136,6,6,6,18,12,6,12,18,12,6,12,6,12,18,12,6,12,12,6,142,6,6,6,6,126,6,6,6,6,152,6, 130,12,18,150,6,12,6,6,6,6,168,138,6,6,6,18,24,6,148,12,6,6,6,6,6,36,6,12,6,6,6,12,12,6, 6,18,6,6,24,18,6,6,6,12,18,12,18,6,18,18,18,18,6,18,12,102,6,6,6,6,6,12,176,18,6,6,6,6, 24,6,6,6,134,6,6,6,24,6,6,6,24,30,6,6,6,6,6,6,6,6,6,12,6,134,30,12,6,6,150,6,6,12,18,6, 24,6,6,6,6,138,18,6,6,6,18,6,12,12,18,12,6,6,6,6,6,12,6,12,6,6,6,12,6,6,6,6,12,18,18,6, 6,6,18,6,12,18,6,12,6,18,12,6,12,6,18,6,12,12,6,6,12,6,6,18,6,104,6,6,18,6,6,6,12,6,6,12, 12,6,6,6,18,12,6,6,12,6,6,6,6,6,6,12,12,6,150,6,6,6,6,6,6,12,12,152,136,6,18,12,6,6,6,18, 12,6,24,12,6,6,12,6,6,6,6,6,6,12,6,122,6,6,6,6,178,24,6,6,120,18,116,6,6,18,12,6,6,6,6, 12,156,24,30,6,12,18,124,6,12,6,6,6,12,12 prime gap sequence 80,000,000 to 81,000,000 (1million prime gaps) 114,6,100,116,116,110,106,130,12,12,12,6,86,6,118,6,12,12,104,126,24,6,6,12,6,24,78,56,6, 6,108,92,120,6,80,6,6,12,6,72,12,6,6,6,98,6,128,118,6,6,12,6,12,30,6,110,12,6,6,6,6,6,6, 110,90,6,6,88,6,12,6,6,6,6,6,152,102,80,6,6,130,6,42,100,30,12,104,30,98,36,152,6,112,6,6, 98,6,6,6,6,12,92,6,24,80,120,12,114,6,106,6,6,6,96,18,12,112,124,104,96,12,6,6,6,6,108,24, 6,12,114,108,160,6,12,6,100,12,12,30,30,12,12,118,12,6,12,82,12,102,6,108,12,6,18,170,94,6,6,6,104,74 prime gap sequence 1,000,000,000 to 1,001,000,000 (1million prime gaps) [12,6,94,132,18,152,12,74,120,12,6,6,6,108,6,118,6,176,116,6,130,156,6,12,6,106,18,6,12,30, 112,6,22,122,138,104,6,128,112,30,148,124,6,6,124,116,30,100,100,126,130,110,6,6,116,6,94, 154,102,18,136,12,82,6,126,6,24,6,104,106,6,146,84,126,66,42,42,6,6,6,132,18,108,128,6,6,96, 120,6,126,136,108,120,102,150,118,6,24,150,6,100,6,6,128,130,6,114,80,150,82,18,150,108,6,154, 120,96,6,104,134,18,18,6,156,144,110,106,134,6,122,12,6,30,112,88,130,100,36,6,18,108,154,6 cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-02-18 06:09 -0800 |
| Message-ID | <na4jbp$1kh5$1@gioia.aioe.org> |
| In reply to | #328185 |
On 2/18/2016 4:31 AM, Sylvia Else wrote: > On 18/02/2016 8:43 PM, 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 > > Start with a + 60n, where a goes from 0 to 59, and all n, n >= 0. That > gives you the set of all non-negative integers. > > Now remove those for which a is zero, since the results are either zero, > or are divisible by 2, 3 and 5. Also remove those for which a is > divisible by 2, 3 and 5, since the resulting numbers will also be > divisible by the same number (60 being divisible by all of them). Hi, > Finally, for some unfathomable reason, put back those for which a is 3 > (all of which are divisible by 3). Now you have the list given above. No that's incorrect ie when a is 3: a+60n produces primes still. The formula for producing primes seems to be that for a, a must be a prime or a power of a prime, ie above where a=49 that is a prime squared (7^2). In either case if a is a prime or a power of a prime, it is excluded from the list if it 60 is a multiple of it. cheers, Jamie > > So it's mind numbingly trivial, pointless, and useless. > > Sylvia.
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-02-18 06:16 -0800 |
| Message-ID | <na4jng$1l8f$1@gioia.aioe.org> |
| In reply to | #328185 |
On 2/18/2016 4:31 AM, Sylvia Else wrote: > On 18/02/2016 8:43 PM, 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 > > Start with a + 60n, where a goes from 0 to 59, and all n, n >= 0. That > gives you the set of all non-negative integers. > > Now remove those for which a is zero, since the results are either zero, > or are divisible by 2, 3 and 5. Also remove those for which a is > divisible by 2, 3 and 5, since the resulting numbers will also be > divisible by the same number (60 being divisible by all of them). > Finally, for some unfathomable reason, put back those for which a is 3 > (all of which are divisible by 3). Now you have the list given above. > Hi, Oh ya 3 shouldn't be in the list as 60 is a multiple of it, but all the other values for 'a' that produce primes, a should be a prime or a power of a prime I think. There is a definite pattern in the distribution of prime numbers around the number 6, ie. the spacing of primes has many consecutive spacings of 6 digits compared to other digits, the 6 spaced primes occur the most. This is why I tried to make these formulas. cheers, Jamie > So it's mind numbingly trivial, pointless, and useless. > > Sylvia.
[toc] | [prev] | [next] | [standalone]
| From | Sylvia Else <sylvia@not.at.this.address> |
|---|---|
| Date | 2016-02-19 19:10 +1100 |
| Message-ID | <dio0viFkpusU1@mid.individual.net> |
| In reply to | #328191 |
On 19/02/2016 1:16 AM, Jamie M wrote: > On 2/18/2016 4:31 AM, Sylvia Else wrote: >> On 18/02/2016 8:43 PM, 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 >> >> Start with a + 60n, where a goes from 0 to 59, and all n, n >= 0. That >> gives you the set of all non-negative integers. >> >> Now remove those for which a is zero, since the results are either zero, >> or are divisible by 2, 3 and 5. Also remove those for which a is >> divisible by 2, 3 and 5, since the resulting numbers will also be >> divisible by the same number (60 being divisible by all of them). >> Finally, for some unfathomable reason, put back those for which a is 3 >> (all of which are divisible by 3). Now you have the list given above. >> > > Hi, > > Oh ya 3 shouldn't be in the list as 60 is a multiple of it, but > all the other values for 'a' that produce primes, a should be a prime > or a power of a prime I think. 5 is prime, and 25 is a power of it. All numbers of the form 25 + 60n are composite. > > There is a definite pattern in the distribution of prime numbers > around the number 6, ie. the spacing of primes has many consecutive > spacings of 6 digits compared to other digits, the 6 spaced primes > occur the most. This is why I tried to make these formulas. If n is prime, then n + 1, n + 3, and n + 5 are all even, and hence not prime. If n + 2 is not divisible by 3, then either n + 4 is, or n + 6 is. However, if n + 6 is divisible by 3, then so is n, so it cannot be prime (n = 3 excepted). This means that if n and n + 6 are both prime, there is only one number between them that might be prime, and many possible ways in which it might have a factor. So it's hardly surprising that the spacing of 6 arises often. Again, it has no significance. Sylvia.
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-02-20 20:46 -0800 |
| Message-ID | <nabffk$bm$2@gioia.aioe.org> |
| In reply to | #328168 |
On 2/20/2016 6:53 AM, bloggs.fredbloggs.fred@gmail.com wrote: > On Thursday, February 18, 2016 at 4:43:54 AM UTC-5, 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 > > How about the sequence n, n=1 -> oo, that contains all the primes and no arithmetic necessary. > Hi, Sure that's a great sequence, I use it all the time, but if you want to find a sequence that has the highest density of primes this is the type of sequence to use: product of list of primes, ie 2*3*5*7 = 210 coefficient+210n That formula has the fewest integer coefficients of any other values less than 210 to generate all the primes. Another example with even more dense primes in the formulas: product of primes ie: 2*3*5*7*11*13*17*19*23*29 =6469693230 integer coefficient+6469693230n That formula has the fewest integer coefficients of any other values less than 6469693230 to generate all the primes. See the pattern! :D Basically if you take the full set of all infinite prime numbers, and take the product of all of them combined, then make a formula with that like the above, you will still have the best ability to generate all the primes with the highest occurrence density. cheers, Jamie
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | sci.math
csiph-web