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


Groups > sci.electronics.design > #403665

Re: pattern found in Prime numbers

From Jamie Morken <jmorken@shaw.ca>
Newsgroups sci.electronics.design, sci.math
Subject Re: pattern found in Prime numbers
Date 2016-03-20 10:39 -0700
Organization Aioe.org NNTP Server
Message-ID <ncmna6$1p38$1@gioia.aioe.org> (permalink)
References <nckhlq$nmu$1@gioia.aioe.org> <dl6fndFb3t1U1@mid.individual.net> <op.yeml3ue3wei6gd@phenom-pc>

Cross-posted to 2 groups.

Show all headers | View raw


On 3/20/2016 6:51 AM, David Eather wrote:
> On Sun, 20 Mar 2016 12:20:26 +1000, Sylvia Else
> <sylvia@not.at.this.address> wrote:
>
>> On 20/03/2016 8:51 AM, Jamie Morken wrote:
>>> Hi,
>>>
>>> I found a pattern in the prime numbers, I used an encoded binary
>>> sequence, and the pattern became clearly visible:
>>>
>>> http://imgur.com/BI1rAp4
>>>
>>> That's all zeros and ones, depending on if a prime is at the
>>> positions given by the formulas:
>>>
>>> y = 30x + 1
>>> y = 30x + 7
>>> y = 30x + 11
>>> y = 30x + 13
>>> y = 30x + 17
>>> y = 30x + 19
>>> y = 30x + 23
>>> y = 30x + 29
>>>
>>> The pattern can be seen if the zeros and ones are displayed as
>>> a bitmap, but only if there is the correct number of columns
>>> in the bitmap, and that is the pattern I found, the column
>>> count to show the pattern seems to be this for primorial30:
>>>
>>> 8*prime  (where 8 is how many coprimes 30 has)
>>>
>>> I tested prime 7 so far, but I think the pattern seen might hold
>>> for larger primes too.
>>>
>>> When 8*7=56 columns are used ie here are the first 20 rows, all having
>>> columns of zeros:
>>>
>>> 0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,
>>>
>>>
>>> 1,0,0,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,0,0,1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,0,0,0,1,0,1,1,0,1,
>>>
>>>
>>> 0,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,1,
>>>
>>>
>>> 0,0,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,1,0,0,0,0,1,1,0,0,1,1,0,1,0,0,1,0,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,
>>>
>>>
>>>
>>> The columns of zeros match up to give these patterns that can be
>>> verified:
>>>
>>> 30x+7 is always NOT prime every seventh x
>>
>> Obvious.
>>
>>> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
>>
>> 30x + 19 mod 7 ≡ 2x + 5 mod 7.
>>
>> If we want the result to be divisible by 7, then
>>
>> 2x + 5 mod 7 ≡ 0
>>
>> 2x ≡ -5 mod 7 ≡ 2 mod 7.
>>
>> Multiply by the multiplicative inverse of 2 mod 7, which is 4.
>>
>> 4 * 2 * x mod 7 ≡ 4 * 2 mod 7
>>
>> 8 * x mod 7 ≡ 8 mod 7
>>
>> 1 * x mod 7  ≡ 1 mod 7
>>
>> x ≡ 1 mod 7.
>>
>> That is, for x = 1, 8, 15, 22 ... 30x + 19 is divisible by 7, and
>> hence not prime.
>>
>> Your "discoveries" are of no importance whatsoever.
>>
>>
>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>> and continuing for other zero columns.
>>
>> Can be proved (if it's true, I haven't checked) the same way as above.
>>
>
> All these are prime (the first col is the value of x):
>
>   7       227
>   21      647
>   28      857
>   42      1277
>   49      1487
>   56      1697
>   63      1907
>   98      2957
>   105     3167
>   126     3797
>
> not real sure what you mean by offset of 2 but if it turn 227 to 229
> that is also prime


Hi,

For the offsets here is the full list:

30x+1 is always not prime every seventh x (for x starting at 3)
30x+7 is always not prime every seventh x (for x starting at 0)
30x+11 is always not prime every seventh x (for x starting at 6)
30x+13 is always not prime every seventh x (for x starting at 5)
30x+17 is always not prime every seventh x (for x starting at 2)
30x+19 is always not prime every seventh x (for x starting at 1)
30x+23 is always not prime every seventh x (for x starting at 7)
30x+29 is always not prime every seventh x (for x starting at 4)

How can I automatically find these formulas?

cheers,
Jamie

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


Thread

pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 14:51 -0700
  Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 16:08 -0700
  Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 18:27 -0700
    Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 19:35 -0700
  Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 18:41 -0700
    Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 18:44 -0700
      Re: pattern found in Prime numbers Gottfried Helms <helms@uni-kassel.de> - 2016-03-20 04:04 +0100
        Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 20:49 -0700
          Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 21:15 -0700
            Re: pattern found in Prime numbers Gottfried Helms <helms@uni-kassel.de> - 2016-03-20 13:35 +0100
        Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 22:39 -0700
  Re: pattern found in Prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-03-20 13:20 +1100
    Re: pattern found in Prime numbers "David Eather" <eather@tpg.com.au> - 2016-03-20 23:51 +1000
      Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-20 10:39 -0700
        Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-20 10:41 -0700
          Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-20 17:56 -0700
        Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-20 18:06 -0700
        Re: pattern found in Prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-03-21 13:08 +1100
        Re: pattern found in Prime numbers Jasen Betts <jasen@xnet.co.nz> - 2016-03-21 05:02 +0000
  Re: pattern found in Prime numbers "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-03-21 04:30 -0400
    Re: pattern found in Prime numbers R Kym Horsell <kym@kymhorsell.com> - 2016-03-21 08:49 +0000

csiph-web