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


Groups > sci.math > #330183 > unrolled thread

pattern found in Prime numbers

Started byJamie Morken <jmorken@shaw.ca>
First post2016-03-19 14:51 -0700
Last post2016-03-21 08:49 +0000
Articles 20 on this page of 27 — 9 participants

Back to article view | Back to sci.math


Contents

  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 Arturo Magidin <magidin@member.ams.org> - 2016-03-19 16:37 -0700
      Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-19 18:27 -0700
        Re: pattern found in Prime numbers Arturo Magidin <magidin@member.ams.org> - 2016-03-19 19:08 -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 Arturo Magidin <magidin@member.ams.org> - 2016-03-20 19:56 -0700
          Re: pattern found in Prime numbers Arturo Magidin <magidin@member.ams.org> - 2016-03-20 15:03 -0700
            Re: pattern found in Prime numbers Jamie Morken <jmorken@shaw.ca> - 2016-03-20 18:06 -0700
          Re: pattern found in Prime numbers Arturo Magidin <magidin@member.ams.org> - 2016-03-20 17:46 -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 Mandy Liefbowitz <mandyliefbowitz@the.port.side> - 2016-03-21 00:18 +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

Page 1 of 2  [1] 2  Next page →


#330183 — pattern found in Prime numbers

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 14:51 -0700
Subjectpattern found in Prime numbers
Message-ID<nckhlq$nmu$1@gioia.aioe.org>
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 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,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
30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
and continuing for other zero columns.

So I can increase the compression of this prime binary sequence further.

Here is a picture showing the pattern of zero columns that occur for
8*7 columns

http://imgur.com/BI1rAp4


Here is a picture showing there are also zero columns (narrow white
vertical lines) for 8*83, so it is probable that for any 8*prime,
there are zero columns that show a further pattern of spacings
that are not primes.

http://imgur.com/pmw3OsX

I guess if you add up all these not prime rules you can get a formula
for prime numbers :D

cheers,
Jamie

[toc] | [next] | [standalone]


#330185

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 16:08 -0700
Message-ID<nckm7n$utl$1@gioia.aioe.org>
In reply to#330183
On 3/19/2016 2:51 PM, 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: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1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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
> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
> and continuing for other zero columns.
>
> So I can increase the compression of this prime binary sequence further.
>
> Here is a picture showing the pattern of zero columns that occur for
> 8*7 columns
>
> http://imgur.com/BI1rAp4
>
>
> Here is a picture showing there are also zero columns (narrow white
> vertical lines) for 8*83, so it is probable that for any 8*prime,
> there are zero columns that show a further pattern of spacings
> that are not primes.
>
> http://imgur.com/pmw3OsX
>
> I guess if you add up all these not prime rules you can get a formula
> for prime numbers :D
>
> cheers,
> Jamie


Here's an image for primorial 210x (has 48 coprime formulas
y=210x + b (for 48 values of b all coprimes of 210)

When the encoded binary sequence of primes is taken
the rasterized to 210*11 columns, (11 is next prime greater
than 210's prime factors 2*3*5*7) then a pattern of what
is probably 48 vertical lines appears, one for each coprime,
where the formulas 210x + coprimeOf210 are always not prime.

Here is the image of 210x encoded binary sequence of primes:

http://imgur.com/FP3llu6

cheers,
Jamie



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


#330187

FromArturo Magidin <magidin@member.ams.org>
Date2016-03-19 16:37 -0700
Message-ID<70e561c2-978d-40c4-8b11-b58d6daeeac1@googlegroups.com>
In reply to#330183
On Saturday, March 19, 2016 at 4:52:20 PM UTC-5, 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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,
> 0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,
> 1,0,1,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,0,1,0,1,0,1,0,1,0,1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1,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,
> 0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,
> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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

Since 30(7k)+7 is divisible by 7, why is this a surprise?

> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)

i.e., 30(7k+1) + 19? This would be 210k+49, which is also always a multiple of 7 since 210 and 49 are multiples of 7.


> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)

30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.

Why is this a surprise?


-- 
Arturo Magidin

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


#330189

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 18:27 -0700
Message-ID<nckub1$17el$1@gioia.aioe.org>
In reply to#330187
On 3/19/2016 4:37 PM, Arturo Magidin wrote:
> On Saturday, March 19, 2016 at 4:52:20 PM UTC-5, 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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
>> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
>> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,
>> 0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,
>> 1,0,1,1,0,1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,0,1,
>> 0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,
>> 0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,
>> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
>> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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
>
> Since 30(7k)+7 is divisible by 7, why is this a surprise?
>
>> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
>
> i.e., 30(7k+1) + 19? This would be 210k+49, which is also always a multiple of 7 since 210 and 49 are multiples of 7.
>
>
>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>
> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>
> Why is this a surprise?
>
>

Hi,

If you know the additional offset you can avoid the multiplication
and division maybe to check if a number is prime, not sure exactly..
I never said I was good at math, just playing around, but since these 
easy to remove patterns appeared in the sequence I want to try to
remove them all to get a more compressed sequence with no identifiable
patterns that describes the primes in as compact a form as possible.

A compressed sequence with all the patterns removed is what I am
aiming for..

cheers,
Jamie

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


#330200

FromArturo Magidin <magidin@member.ams.org>
Date2016-03-19 19:08 -0700
Message-ID<a4d69c02-26c3-4d53-a71b-0606d3bfa332@googlegroups.com>
In reply to#330189
On Saturday, March 19, 2016 at 8:28:14 PM UTC-5, Jamie Morken wrote:
> On 3/19/2016 4:37 PM, Arturo Magidin wrote:
> > On Saturday, March 19, 2016 at 4:52:20 PM UTC-5, 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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
> >> 1,0,1,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,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
> >
> > Since 30(7k)+7 is divisible by 7, why is this a surprise?
> >
> >> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
> >
> > i.e., 30(7k+1) + 19? This would be 210k+49, which is also always a multiple of 7 since 210 and 49 are multiples of 7.
> >
> >
> >> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
> >
> > 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
> >
> > Why is this a surprise?
> >
> >
> 
> Hi,
> 
> If you know the additional offset you can avoid the multiplication
> and division maybe to check if a number is prime, not sure exactly..


This is trivial sieving; you can remove any multiple of 7 once you know that 7 is prime, and all the numbers you are "identifying" are simply multiples of 7. Sieving is a well-understood process, and there are many methods, far more sophisticated and deep, than the ones you are playing with here.

> I never said I was good at math, just playing around, but since these 
> easy to remove patterns appeared in the sequence I want to try to
> remove them all to get a more compressed sequence with no identifiable
> patterns that describes the primes in as compact a form as possible.

So, you are just playing around, you don't know much, but you expect that simple observations will create a breakthrough that has escaped those who *do* know and are good at math?

If all you want is to pass the time, more power to you. But, perhaps you should lower your expectations and turn that fantasy of yours down a notch or two.

-- 
Arturo Magidin

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


#330203

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 19:35 -0700
Message-ID<ncl2bf$1bi0$1@gioia.aioe.org>
In reply to#330200
On 3/19/2016 7:08 PM, Arturo Magidin wrote:
> On Saturday, March 19, 2016 at 8:28:14 PM UTC-5, Jamie Morken wrote:
>> On 3/19/2016 4:37 PM, Arturo Magidin wrote:
>>> On Saturday, March 19, 2016 at 4:52:20 PM UTC-5, 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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
>>>> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
>>>> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,
>>>> 0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,
>>>> 1,0,1,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,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1,0,1,1,1,0,0,0,0,0,0,1,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,
>>>> 0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,
>>>> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
>>>> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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
>>>
>>> Since 30(7k)+7 is divisible by 7, why is this a surprise?
>>>
>>>> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
>>>
>>> i.e., 30(7k+1) + 19? This would be 210k+49, which is also always a multiple of 7 since 210 and 49 are multiples of 7.
>>>
>>>
>>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>>
>>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>>
>>> Why is this a surprise?
>>>
>>>
>>
>> Hi,
>>
>> If you know the additional offset you can avoid the multiplication
>> and division maybe to check if a number is prime, not sure exactly..
>
>
> This is trivial sieving; you can remove any multiple of 7 once you know that 7 is prime, and all the numbers you are "identifying" are

simply multiples of 7. Sieving is a well-understood process, and there 
are many methods, far more sophisticated and deep, than the ones you are 
playing with here.
>
>> I never said I was good at math, just playing around, but since these
>> easy to remove patterns appeared in the sequence I want to try to
>> remove them all to get a more compressed sequence with no identifiable
>> patterns that describes the primes in as compact a form as possible.
>
> So, you are just playing around, you don't know much, but you expect that simple observations will create a breakthrough that has escaped
those who *do* know and are good at math?

Hi,

I appreciate your criticism but find it interesting still even if I am 
really learning nothing it is an adventure, there is still lots of
territory to explore whether useful or not thats fine either way, but
thanks for the feedback.

cheers,
Jamie

>
> If all you want is to pass the time, more power to you. But, perhaps you should lower your expectations and turn that fantasy of yours down a notch or two.
>

No way lol :D

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


#330192

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 18:41 -0700
Message-ID<nckv6e$18au$1@gioia.aioe.org>
In reply to#330187
On 3/19/2016 4:37 PM, Arturo Magidin wrote:
> On Saturday, March 19, 2016 at 4:52:20 PM UTC-5, 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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,0,1,0,1,0,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
>
> Since 30(7k)+7 is divisible by 7, why is this a surprise?
>
>> 30x+19 is always NOT prime every seventh x (offset one from x for 30x+7)
>
> i.e., 30(7k+1) + 19? This would be 210k+49, which is also always a multiple of 7 since 210 and 49 are multiples of 7.
>
>
>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>
> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>
> Why is this a surprise?
>
>

Hi,

What is the identity for this one that has columns of zeros for the same 
30x formulas but is 8*83 bits wide in the raster?  It is interesting 
that these zero columns seem to appear with prime multiples of 8 maybe.

cheers,
Jamie

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


#330193

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 18:44 -0700
Message-ID<nckvbb$18au$3@gioia.aioe.org>
In reply to#330192
On 3/19/2016 6:41 PM, Jamie Morken wrote:

>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>
>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>
>> Why is this a surprise?
>>
>>
>
> Hi,
>
> What is the identity for this one that has columns of zeros for the same
> 30x formulas but is 8*83 bits wide in the raster?  It is interesting
> that these zero columns seem to appear with prime multiples of 8 maybe.
>
> cheers,
> Jamie
>
>

Woops forgot to link the image:

http://imgur.com/wXTKZ4a

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


#330206

FromGottfried Helms <helms@uni-kassel.de>
Date2016-03-20 04:04 +0100
Message-ID<ncl412$d04$1@news.albasani.net>
In reply to#330193
Am 20.03.2016 um 02:44 schrieb Jamie Morken:
> On 3/19/2016 6:41 PM, Jamie Morken wrote:
> 
>>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>>
>>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>>
>>> Why is this a surprise?
>>>
>>>
>>
>> Hi,
>>
>> What is the identity for this one that has columns of zeros for the same
>> 30x formulas but is 8*83 bits wide in the raster?  It is interesting
>> that these zero columns seem to appear with prime multiples of 8 maybe.
>>
>> cheers,
>> Jamie
>>
>>
> 
> Woops forgot to link the image:
> 
> http://imgur.com/wXTKZ4a
> 
> 
How can I make any of your images visible?

Gottfried

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


#330208

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 20:49 -0700
Message-ID<ncl6l4$1fmo$1@gioia.aioe.org>
In reply to#330206
On 3/19/2016 8:04 PM, Gottfried Helms wrote:
> Am 20.03.2016 um 02:44 schrieb Jamie Morken:
>> On 3/19/2016 6:41 PM, Jamie Morken wrote:
>>
>>>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>>>
>>>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>>>
>>>> Why is this a surprise?
>>>>
>>>>
>>>
>>> Hi,
>>>
>>> What is the identity for this one that has columns of zeros for the same
>>> 30x formulas but is 8*83 bits wide in the raster?  It is interesting
>>> that these zero columns seem to appear with prime multiples of 8 maybe.
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> Woops forgot to link the image:
>>
>> http://imgur.com/wXTKZ4a
>>
>>
> How can I make any of your images visible?

If you right click on the image and open in new tab does that work?

I generated a lot more with better file names I can email them to you
if you want.

cheers,
Jamie


>
> Gottfried
>

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


#330209

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 21:15 -0700
Message-ID<ncl85s$1hdc$1@gioia.aioe.org>
In reply to#330208
On 3/19/2016 8:49 PM, Jamie Morken wrote:
> On 3/19/2016 8:04 PM, Gottfried Helms wrote:
>> Am 20.03.2016 um 02:44 schrieb Jamie Morken:
>>> On 3/19/2016 6:41 PM, Jamie Morken wrote:
>>>
>>>>>> 30x+17 is always NOT prime every seventh x (offset two from x for
>>>>>> 30x+7)
>>>>>
>>>>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>>>>
>>>>> Why is this a surprise?
>>>>>
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> What is the identity for this one that has columns of zeros for the
>>>> same
>>>> 30x formulas but is 8*83 bits wide in the raster?  It is interesting
>>>> that these zero columns seem to appear with prime multiples of 8 maybe.
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>
>>> Woops forgot to link the image:
>>>
>>> http://imgur.com/wXTKZ4a
>>>
>>>
>> How can I make any of your images visible?
>
> If you right click on the image and open in new tab does that work?
>
> I generated a lot more with better file names I can email them to you
> if you want.
>
> cheers,
> Jamie
>
>

Here is a zip file with 28 different prime binary rasters
for primorials 30, 210 and 2310, labeled with filenames
showing how many columns of zeros they have.

ie filename:
"primorial210, 624bit wide (48x13) has a zero column pattern (13x1, 48 
columns)"

is a 624 bit wide raster image (624=48x13) 48 being the number of 
coprimes of 210, and 13 appended primorial blocks of 48 showing
the columns of zeros, one for each of the 48 coprime functions

y=210x+(coprimes of 210)

The zero columns are always symetrical too which is interesting!

cheers,
Jamie




https://www.dropbox.com/s/wfgfy0s3cfnkybj/primorial%20prime%20number%20binary%20sequences.zip

cheers,
Jamie


>>
>> Gottfried
>>
>

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


#330221

FromGottfried Helms <helms@uni-kassel.de>
Date2016-03-20 13:35 +0100
Message-ID<ncm5es$p9f$1@news.albasani.net>
In reply to#330209
Am 20.03.2016 um 05:15 schrieb Jamie Morken:
> On 3/19/2016 8:49 PM, Jamie Morken wrote:

> 
> https://www.dropbox.com/s/wfgfy0s3cfnkybj/primorial%20prime%20number%20binary%20sequences.zip
> 
Ah, thank you, that worked.

Gottfried

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


#330211

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-19 22:39 -0700
Message-ID<ncld4a$1mg6$1@gioia.aioe.org>
In reply to#330206
On 3/19/2016 8:04 PM, Gottfried Helms wrote:
> Am 20.03.2016 um 02:44 schrieb Jamie Morken:
>> On 3/19/2016 6:41 PM, Jamie Morken wrote:
>>
>>>>> 30x+17 is always NOT prime every seventh x (offset two from x for 30x+7)
>>>>
>>>> 30(7k+2) + 17 = 210k + 77, again, trivially always a multiple of 7.
>>>>
>>>> Why is this a surprise?
>>>>
>>>>
>>>
>>> Hi,
>>>
>>> What is the identity for this one that has columns of zeros for the same
>>> 30x formulas but is 8*83 bits wide in the raster?  It is interesting
>>> that these zero columns seem to appear with prime multiples of 8 maybe.
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> Woops forgot to link the image:
>>
>> http://imgur.com/wXTKZ4a
>>
>>
> How can I make any of your images visible?
>
> Gottfried
>

Here is a big batch of primorial 6 raster images:

https://www.dropbox.com/s/bmp685eqrk6525c/primorial6%20prime%20number%20binary%20sequences.zip

6x+1 and 6x+5 (1 and 5 coprimes of 6) make up the pixels,
with 30 values of x per row of the raster for giving the
most vertical zero lines (20%).  The zip file has many
values for x per row of the raster, but 30 is the first,
least random raster, I think it has all the identities
that show when 6x+1 and 6x+5 won't be prime for certain
multiples of x (total of 12 cases)

Anyone can list them? :D

cheers,
Jamie

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


#330202

FromSylvia Else <sylvia@not.at.this.address>
Date2016-03-20 13:20 +1100
Message-ID<dl6fndFb3t1U1@mid.individual.net>
In reply to#330183
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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
>
> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
>
> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,
>
> 0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,
>
> 1,0,1,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,1,1,1,0,0,0,1,0,1,
>
> 0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0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1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,
>
> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
>
> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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.

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


#330225

From"David Eather" <eather@tpg.com.au>
Date2016-03-20 23:51 +1000
Message-ID<op.yeml3ue3wei6gd@phenom-pc>
In reply to#330202
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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
>>
>> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
>>
>> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,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,1,0,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,
>>
>> 1,0,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,1,1,1,0,0,0,1,0,0,0,1,1,0,1,0,1,1,1,0,0,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,0,1,
>>
>> 0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,
>>
>> 0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,
>>
>> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
>>
>> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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

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


#330234

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-20 10:39 -0700
Message-ID<ncmna6$1p38$1@gioia.aioe.org>
In reply to#330225
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,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,0,1,
>>>
>>>
>>> 1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,0,
>>>
>>>
>>> 1,0,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,
>>>
>>>
>>> 0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,
>>>
>>>
>>> 1,0,1,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,1,1,1,0,0,0,1,0,1,
>>>
>>>
>>> 0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,0,0,1,1,1,1,1,0,1,1,1,0,1,0,0,
>>>
>>>
>>> 1,0,1,1,1,1,1,1,0,0,1,0,0,0,1,0,1,0,0,1,0,1,1,1,0,1,1,0,0,1,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0,1,0,1,1,1,1,0,0,1,1,0,0,1,
>>>
>>>
>>> 1,0,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
>>>
>>>
>>> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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

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


#330236

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-20 10:41 -0700
Message-ID<ncmnen$1p38$3@gioia.aioe.org>
In reply to#330234
On 3/20/2016 10:39 AM, Jamie Morken wrote:

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

I should mention the only special case is 30x+7 for x=0 is prime.

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


#330260

FromJamie Morken <jmorken@shaw.ca>
Date2016-03-20 17:56 -0700
Message-ID<ncngsu$1eq9$1@gioia.aioe.org>
In reply to#330236
On 3/20/2016 10:41 AM, Jamie Morken wrote:
> On 3/20/2016 10:39 AM, Jamie Morken wrote:
>
>>> 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
>>
>>
>
> I should mention the only special case is 30x+7 for x=0 is prime.
>
>


I can make tons of these that seem to be not prime all the time:

ie: by multiplying by 83*1, 83*2, 83*3, 83*4..

(30*23*83)+23
not prime: 57293
X multiplier of primorial: 83

(30*23*166)+23
not prime: 114563
X multiplier of primorial: 166

(30*23*249)+23
not prime: 171833
X multiplier of primorial: 249

(30*23*332)+23
not prime: 229103
X multiplier of primorial: 332

(30*23*415)+23
not prime: 286373
X multiplier of primorial: 415

(30*23*498)+23
not prime: 343643
X multiplier of primorial: 498


I checked these up to 3436223, which has a multipler of 4980 (83*60)
all were not prime.

It's the same pattern for other zero columns in the prime binary
sequences too.  There are lots of these identities that produce no
primes.

Here's the full list for all multiples of 83:

(I didn't include (30*1*83)+1 due to some buggy code

(30*7*83)+7
not prime: 17437
(not prime for all multiples of 83)

(30*11*83)+11
not prime: 27401
(not prime for all multiples of 83)

(30*13*83)+13
not prime: 32383
(not prime for all multiples of 83)

(30*17*83)+17
not prime: 42347
(not prime for all multiples of 83)

(30*19*83)+19
not prime: 47329
(not prime for all multiples of 83)

(30*23*83)+23
not prime: 57293
(not prime for all multiples of 83)

(30*29*83)+29
not prime: 72239
(not prime for all multiples of 83)

A pattern for each of the above is that for example the last
equation: (30*29*83) is divisible by 29.

Another pattern seems to be: (primorial*prime1*prime2)+prime1
is not equal to a prime for prime1's larger than the
largest prime factor in primorial, and for integer
multiples of prime2.

There are cases of no primes without the above patterns, but
I didn't see a pattern like that above that produces primes
yet.

cheers,
Jamie

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


#330268

FromArturo Magidin <magidin@member.ams.org>
Date2016-03-20 19:56 -0700
Message-ID<f1f5227f-46cf-45cb-800f-819ca9cdae47@googlegroups.com>
In reply to#330260
On Sunday, March 20, 2016 at 7:57:11 PM UTC-5, Jamie Morken wrote:
> On 3/20/2016 10:41 AM, Jamie Morken wrote:
> > On 3/20/2016 10:39 AM, Jamie Morken wrote:
> >
> >>> 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
> >>
> >>
> >
> > I should mention the only special case is 30x+7 for x=0 is prime.
> >
> >
> 
> 
> I can make tons of these that seem to be not prime all the time:

Good for you; and both I and Sylvia Else showed how, using congruences, you can determine every single possible such thing without having to bother with "trying" or "testing". And without getting half of them wrong on the first try.


> There are cases of no primes without the above patterns, but
> I didn't see a pattern like that above that produces primes
> yet.

You won't.

You are looking at simple arithmetic progressions of the form ay+t (after getting rid of a lot of your unnecessary complications, like taking 30x+b but then requiring that x advance in leaps of 7 instead of 1; so that you are looking at 30(7y+c) + b, which becomes 310y+(30c+b), of the form above with a=310 and t=30c+b). 

If gcd(a,y)>1, then this is never prime, except perhaps when y=0 (if t is prime).

If gcd(a,y)=1, then this will be (i) not prime for infinitely many values of y; and (ii) prime for infinitely  many values of y. The former is easy to establish (e.g., all values of y that are multiples of t); the latter is much harder: it is known as Dirichlet's Theorem of Primes in Arithmetic Progressions, or Dirichlet's Theorem, or Dirichlet's prime number theorem.

So there are no expressions like you are considering which always yield primes, but there are lots and lots and lots, and all of them are easily verified, produced, and well-understood, which will never yield primes.

And this is why if you spent your time learning a little, you might in fact learn a lot about this.

-- 
Arturo Magidin

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


#330245

FromArturo Magidin <magidin@member.ams.org>
Date2016-03-20 15:03 -0700
Message-ID<6aa1b16e-281d-4333-9e03-8ac58c7cbcac@googlegroups.com>
In reply to#330234
On Sunday, March 20, 2016 at 12:40:32 PM UTC-5, Jamie Morken wrote:
> 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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,1,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,0,
> >>>
> >>>
> >>> 1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,0,1,0,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)

ie., 30(3+7y) + 1 = 6+1 = 0 (mod 7); always a multiple of 7.

> 30x+7 is always not prime every seventh x (for x starting at 0)

30(7y) + 7 = 0 (mod 7); always a multiple of 7.

> 30x+11 is always not prime every seventh x (for x starting at 6)

This is incorrect. When x=6, you get 30(6)+11 = 191, which is prime. More generally, you are claiming that

30(6+7y) + 11 = 210y + 191 is never prime for any value of x. However, since gcd(210,191) = 1, by Dirichlet's Theorem for Primes in Arithmetic Progressions, this quantity will be prime infinitely often. It is prime when y=0 (that is, at x=6); it is prime again at y=1 (x=13), when you get 401; is not prime at y=2 (when you get 611 = 13*47); but is prime again at y=3, when you get 821. Etc.

> 30x+13 is always not prime every seventh x (for x starting at 5)

Again false. 30(5+7y)+13 = 210y + 163; when y=0 you get 163, which is prime, and by Dirichlet's Theorem it will be prime for infinitely many values of y (but not always, since, e.g., when y = 2 you get 583=11*53).

> 30x+17 is always not prime every seventh x (for x starting at 2)

30(2+7y)+17 = 4+17 = 21 = 0 (mod 7), so this is always a multiple of 7.

> 30x+19 is always not prime every seventh x (for x starting at 1)

30(1+7y)+19 = 2+5 = 0 (mod 7), so this is always a multiple of 7.

> 30x+23 is always not prime every seventh x (for x starting at 7)

This is incorrect again. You are claiming that 30(7+7y) + 23 = 210y + 233 is never prime; but it is prime when y=0 (i.e., when x=7), and it will be prime infinitely often but not always.

> 30x+29 is always not prime every seventh x (for x starting at 4)

Incorrect. It is prime when x=4. You are looking at 30(4+7y) + 29 = 210y + 149, which is prime infinitely often (but not always).

> 
> How can I automatically find these formulas?

The correct ones are trivial consequences of congruences. The incorrect ones are trivial consequences of not doing your arithmetic right.

-- 
Arturo Magidin

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


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.math


csiph-web