Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #401784 > unrolled thread
| Started by | Jamie M <jmorken@shaw.ca> |
|---|---|
| First post | 2016-03-06 23:27 -0800 |
| Last post | 2016-03-09 16:22 +1100 |
| Articles | 8 on this page of 28 — 7 participants |
Back to article view | Back to sci.electronics.design
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-03-14 06:53 -0700 |
| Message-ID | <nc6fo6$11kq$2@gioia.aioe.org> |
| In reply to | #402751 |
On 3/14/2016 6:30 AM, David Brown wrote: > On 14/03/16 13:42, Jamie M wrote: >> On 3/14/2016 1:31 AM, David Brown wrote: >>> 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. >>> >> >> >> >> Hi, >> >> I am not proud of not knowing whether the prime numbers have a random >> or a pseudorandom distribution, I just don't know, but I tend to think >> it is a pseudorandom distribution, at least until proven otherwise, >> as then it is more interesting to think of some unknown formula that >> can define the prime number placements. > > It is fine for you not to know if the primes are random or pseudorandom. > That does not mean it is fine to use the terms "random" and > "pseudorandom" interchangeably. Do your best to learn the terms and use > them appropriately - you have no way to discuss whether they are random > or pseudorandom until you get the terms correct. > Hi, If you want to contribute something more useful, you could help me find this sequence of pisano periods: https://en.wikipedia.org/wiki/Pisano_period ie: 1,3,8,6,20,24,16,12,24,60,10,24, I'm looking for that up to 10million+ length to check for patterns, as apparently it is unknown if there is a pattern in it. cheers, Jamie > And by saying "I tend to think it is a pseudorandom distribution", you > are begging the question. Your investigations are trying to find out if > there is a formula (other than trial and error) for generating primes - > you can't start off by assuming that one exists and working from there. > (You /can/ say "/if/ it exists, what would it look like?). > >> >> Also I don't know if the arbitrarily long sequences of primes applies >> to the formulas 6n+1 and 6n+5 as I think that formula is for coprimes >> maybe, not sure: >> >> https://en.wikipedia.org/wiki/Dirichlet's_theorem_on_arithmetic_progressions >> >> >> https://en.wikipedia.org/wiki/Green%E2%80%93Tao_theorem >> > > You won't get arbitrarily long sequences of primes of the form 6n+1 or > 6n+5. As an exercise, try to prove that. > >
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2016-03-14 16:56 +0100 |
| Message-ID | <nc6mqc$pfa$1@dont-email.me> |
| In reply to | #402756 |
On 14/03/16 14:53, Jamie M wrote: > Hi, > > If you want to contribute something more useful, you could help me find > this sequence of pisano periods: > I believe I /have/ been contributing usefully - I have been trying to encourage you towards logical and critical thinking, accurate use of terminology, and a scientific viewpoint. If you prefer, I could usefully give my blunt opinion on where this is all going, but I would much rather be optimistic and encourage your curiosity.
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-03-14 10:51 -0700 |
| Message-ID | <nc6tne$1tkf$1@gioia.aioe.org> |
| In reply to | #402786 |
On 3/14/2016 8:56 AM, David Brown wrote: > On 14/03/16 14:53, Jamie M wrote: > >> Hi, >> >> If you want to contribute something more useful, you could help me find >> this sequence of pisano periods: >> > > I believe I /have/ been contributing usefully - I have been trying to > encourage you towards logical and critical thinking, accurate use of > terminology, and a scientific viewpoint. > > If you prefer, I could usefully give my blunt opinion on where this is > all going, but I would much rather be optimistic and encourage your > curiosity. > > Hi, I appreciate your candor, and I shouldn't believe that the primes have a pseudorandom distribution obviously, but when I stated: "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?" Do you see how by "begging the question" here that the primes have a pseudorandom distribution, I am saying that even if the primes have a pseudorandom distribution, the counts of the two formulas should still be the same, and of course if the primes have a random distribution the counts of the two formulas would be the same too. In either case the count of primes in the two formulas should be equal I think. I am not (and was not) trying to prove that the primes have a pseudorandom distribution from my original question. cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-03-15 11:24 -0700 |
| Message-ID | <nc9k04$1p1v$1@gioia.aioe.org> |
| In reply to | #402786 |
On 3/14/2016 8:56 AM, David Brown wrote: > On 14/03/16 14:53, Jamie M wrote: > >> Hi, >> >> If you want to contribute something more useful, you could help me find >> this sequence of pisano periods: >> > > I believe I /have/ been contributing usefully - I have been trying to > encourage you towards logical and critical thinking, accurate use of > terminology, and a scientific viewpoint. > > If you prefer, I could usefully give my blunt opinion on where this is > all going, but I would much rather be optimistic and encourage your > curiosity. > > Hi, I just made a cool discovery that 6n+1 and 6n+5 have some periodic (non random) patterns of their relative prime distributions. For 6n+1 for the non negative integers, all the primes in it, ie starting with: 6n+1 produces primes: 7 13 19 31 37 43 61 67 73 79 97 103 6n+5 produces primes: 5 11 17 23 29 41 47 53 59 71 83 89 101 107 Now I make a new binary sequence where 6n+1 primes are assigned 0 and 6n+5 primes are assigned to 1, and then the sequence is filled in order from smallest primes to largest primes, so the sequence created looks like this: 1 (5 = 6n+5 prime so binary1) 0 (7 = 6n+1 prime so binary0) 1 (11 = 6n+5 prime so binary1) 0 (13 = 6n+1 prime so binary0) 1 (etc.. for increasing primes) 0 1 1 0 0 1 0 1 1 1 0 0 1 0 0 1 1 0 1 0 ... I did this sequence to millions of digits and then checked it for periodic patterns compared to a pseudorandom binary sequence, and am currently still checking it more for longer sequences, up to 3million binary digits so far. For one million sequence length I noticed some apparent periodic patterns more than the binary pseudorandom sequence. Then randomly today I came across this news story about something very similar about prime distributions being biased in adjacent residue classes: http://arxiv.org/abs/1603.03720 https://www.quantamagazine.org/20160313-mathematicians-discover-prime-conspiracy/ The formulas I am using, ie 6n+1 and 6n+5 are reduced residue systems I think.. As someone on sci.math replied to me a couple weeks ago: "That list of 5760 numbers which have no common factor with 30030 is called its "reduced residue set". It contains 1, all the primes from 17 up to 30029, a lot of semiprimes, and other composites like 17*19*23 which maybe have some other name. They're all part of that reduced residue set modulo 30030." https://en.wikipedia.org/wiki/Reduced_residue_system So.. from all that it makes sense that some non-random periodic patterns should be visible when comparing 6n+1 and 6n+5 "reduced residue sets". The way I have done this is by combining the two sets of primes from 6n+1 and 6n+5, and assigning a 0 to 6n+1 primes, and a 1 to 6n+5 primes, and making this into a new binary sequence, then checking that sequence for periodic patterns (comparing it against a pseudorandom binary sequence). I did it for 1million sequence length, and am currently running the code for 3million sequence length to see, but there are slightly more periodic patterns in the 1million sequence length for the 6n+1/6n+5 compared to the pseudorandom binary sequence. What I really want to do is a "higher" reside system, ie y=30x+b (30 primorial) where there are 11 b's that for all non negative integers will create more than one prime y. And then using base11 (or a subset of the 11 b's ie base10) create a new sequence like the binary sequence for 6n+1/6n+5, except a base10 sequence, and then see if that has many periodic patterns compared to a pseudorandom sequence, also permutations of the reduced residue sets, ie maybe 3 or 5 of the b's etc turned into the single sequence. So I think there are self referential patterns in the primes and probably patterns in the primes related to things outside the primes too, just gotta find them.. But a good quote about this on John Baez blog: https://plus.google.com/117663015413546257905 " If you have a prime that ends in a 7, what's the probability that the next prime ends in a 7? I would still expect the answer to be close to 25%. But these mathematicians, Robert Oliver and Kannan Soundarajan, actually looked! And they found that among the first hundred million primes, the answer is just 17.757%. That's way off! ... Of course, what's really surprising is not this correlation between the last digits of consecutive primes, but that number theorists hadn't thought to look for it until now! " So it's always good to look for patterns even if they seem simple especially if you have a computer it is easy to do. I didn't find the pattern in this news story, but I think there is a more general pattern of primorial reduced residue sets that is interesting to try to figure out (probably explained already by the prime k-tuples conjecture as stated in the quantamagazine.org article linked above. (basically I have no idea what I'm doing but it is fun!) cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | William Elliot <marsh@panix.com> |
|---|---|
| Date | 2016-03-08 19:24 -0800 |
| Message-ID | <Pine.NEB.4.64.1603081906060.4888@panix2.panix.com> |
| In reply to | #401920 |
> That isn't the correct formula, to get all the primes
> you need to use multiple values of b.
Are you claiming that if m is a primodial integer,
then there's a subset K of [1, m-1] /\ N for which
{ mx + b | x non-negative integer, b in K },
will include all of the primes?
> 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
In what half are the primes 2 and 3?
> For bigger primorials m, the values of b get more interesting,
> and seem to just be all the primes below m, as well as numbers
> with prime factors larger than m's prime factors or something.
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-03-09 19:12 -0800 |
| Message-ID | <nbqoma$upf$2@gioia.aioe.org> |
| In reply to | #402033 |
On 3/8/2016 7:24 PM, William Elliot wrote:
>> That isn't the correct formula, to get all the primes
>> you need to use multiple values of b.
>
> Are you claiming that if m is a primodial integer,
> then there's a subset K of [1, m-1] /\ N for which
> { mx + b | x non-negative integer, b in K },
> will include all of the primes?
Hi,
Yes that is true, ie
these formulas produce all the primes except for 2,3,5:
y = 30x + 1
y = 30x + 7
y = 30x + 11
y = 30x + 13
y = 30x + 17
y = 30x + 19
y = 30x + 23
y = 30x + 29
cheers,
Jamie
>
>> 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
>
> In what half are the primes 2 and 3?
>
>> For bigger primorials m, the values of b get more interesting,
>> and seem to just be all the primes below m, as well as numbers
>> with prime factors larger than m's prime factors or something.
>
[toc] | [prev] | [next] | [standalone]
| From | Virgil <VIRGIL@VIRGIL.com> |
|---|---|
| Date | 2016-03-09 23:15 -0700 |
| Message-ID | <VIRGIL-0CCBFC.23155209032016@news.giganews.com> |
| In reply to | #402150 |
In article <nbqoma$upf$2@gioia.aioe.org>, Jamie M <jmorken@shaw.ca> wrote: > > these formulas produce all the primes except for 2,3,5: > > y = 30x + 1 > y = 30x + 7 > y = 30x + 11 > y = 30x + 13 > y = 30x + 17 > y = 30x + 19 > y = 30x + 23 > y = 30x + 29 Not unless you allow x = 0, which is often NOT regarded as a natural number, But then they produce every natural number not divisible by any of 2, 3 or 5,so they naturally also include every prime not divisible by any of 2, 3 or 5! A similar list of equations can be constructed to produce all primes but the first n primes for any natural number n. -- Virgil "Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)
[toc] | [prev] | [next] | [standalone]
| From | Sylvia Else <sylvia@not.at.this.address> |
|---|---|
| Date | 2016-03-09 16:22 +1100 |
| Message-ID | <dk9q7qFf16sU1@mid.individual.net> |
| In reply to | #401784 |
On 7/03/2016 6:27 PM, Jamie M wrote: > So any idea why the primorial equations produce these > repeating decimals? Any rational that is not some integer divided by a power of ten is represented by a recurring decimal. Sylvia.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | sci.electronics.design
csiph-web