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


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

gaps in coprimes of primorials

Started byJamie M <jmorken@shaw.ca>
First post2016-03-27 14:50 -0700
Last post2016-03-30 21:03 +0000
Articles 6 — 2 participants

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


Contents

  gaps in coprimes of primorials Jamie M <jmorken@shaw.ca> - 2016-03-27 14:50 -0700
    Re: gaps in coprimes of primorials Jamie M <jmorken@shaw.ca> - 2016-03-27 15:00 -0700
      Re: gaps in coprimes of primorials Jamie M <jmorken@shaw.ca> - 2016-03-27 15:20 -0700
        Re: gaps in coprimes of primorials Jamie M <jmorken@shaw.ca> - 2016-03-27 15:47 -0700
          Re: gaps in coprimes of primorials Jamie M <jmorken@shaw.ca> - 2016-03-28 00:56 -0700
            Re: gaps in coprimes of primorials James Waldby <not@valid.invalid> - 2016-03-30 21:03 +0000

#404809 — gaps in coprimes of primorials

FromJamie M <jmorken@shaw.ca>
Date2016-03-27 14:50 -0700
Subjectgaps in coprimes of primorials
Message-ID<nd9kjl$ae9$1@gioia.aioe.org>
Hi,

The gaps in coprimes of primorials is a mirror image ie:


primorial 30 coprimes:

1,7,11,13,17,19,23,29

That sequence of coprimes has the gaps:

6,4,2,4,2,4,6

which looks the same even if someone with dyslexia writes it
(ie a mirror image)


Also tested again for the next primorial 210 coprimes:

1,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,
121,127,131,137,139,143,149,151,157,163,167,169,173,179,181,187,191,193,197,199,209,

The list of gaps for the above is:

10,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10

Again that looks like a mirror image.

So what is the reason for this!??!

cheers,
Jamie

[toc] | [next] | [standalone]


#404813

FromJamie M <jmorken@shaw.ca>
Date2016-03-27 15:00 -0700
Message-ID<nd9l66$bfl$1@gioia.aioe.org>
In reply to#404809
On 3/27/2016 2:50 PM, Jamie M wrote:
> Hi,
>
> The gaps in coprimes of primorials is a mirror image ie:
>
>
> primorial 30 coprimes:
>
> 1,7,11,13,17,19,23,29
>
> That sequence of coprimes has the gaps:
>
> 6,4,2,4,2,4,6
>
> which looks the same even if someone with dyslexia writes it
> (ie a mirror image)
>
>
> Also tested again for the next primorial 210 coprimes:
>
> 1,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,
>
> 121,127,131,137,139,143,149,151,157,163,167,169,173,179,181,187,191,193,197,199,209,
>
>
> The list of gaps for the above is:
>
> 10,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10
>
>
> Again that looks like a mirror image.
>
> So what is the reason for this!??!
>
> cheers,
> Jamie


This also implies that you can find the second half of coprimes of a
primorial if you know all the coprimes less than the primorial
magnitude/2 (ie for primorial 210 it is 210/2 = 105.

Also if you know just half of the coprimes, you can check the
corresponding position and fill it in, so you can know a random
any half of coprimes and fill in the rest, ie if you know 13 is coprime
for 210, then also you can know that 210-13 is coprime etc.

cheers,
Jamie












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


#404820

FromJamie M <jmorken@shaw.ca>
Date2016-03-27 15:20 -0700
Message-ID<nd9mbc$dga$2@gioia.aioe.org>
In reply to#404813
On 3/27/2016 3:00 PM, Jamie M wrote:

>
> This also implies that you can find the second half of coprimes of a
> primorial if you know all the coprimes less than the primorial
> magnitude/2 (ie for primorial 210 it is 210/2 = 105.
>
> Also if you know just half of the coprimes, you can check the
> corresponding position and fill it in, so you can know a random
> any half of coprimes and fill in the rest, ie if you know 13 is coprime
> for 210, then also you can know that 210-13 is coprime etc.
>
> cheers,
> Jamie
>

The mirrored gap sequence seems to work for any number not just
primorials.


>
>
>
>
>
>
>
>
>
>
>
>

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


#404831

FromJamie M <jmorken@shaw.ca>
Date2016-03-27 15:47 -0700
Message-ID<nd9nti$g7d$1@gioia.aioe.org>
In reply to#404820
On 3/27/2016 3:20 PM, Jamie M wrote:
> On 3/27/2016 3:00 PM, Jamie M wrote:
>
>>
>> This also implies that you can find the second half of coprimes of a
>> primorial if you know all the coprimes less than the primorial
>> magnitude/2 (ie for primorial 210 it is 210/2 = 105.
>>
>> Also if you know just half of the coprimes, you can check the
>> corresponding position and fill it in, so you can know a random
>> any half of coprimes and fill in the rest, ie if you know 13 is coprime
>> for 210, then also you can know that 210-13 is coprime etc.
>>
>> cheers,
>> Jamie
>>
>
> The mirrored gap sequence seems to work for any number not just
> primorials.


If you take the coprimes and organize them into two columns, ie for 
coprimes of 30:


1 29
7 23
11 19
13 17

the sum of the two columns for each row is always 30, ie 1+29, 7+23, 
11+19, 13+17


For any natural number n these columns can be generated with
the numbers coprimes adding to n.

Coprimes organized into two columns for different numbers n greater than 
2, showing unique all unique products:

n=3
column1 column2 product
1 2 2

n=4
1 3 3

n=5
1 4 4
2 3

n=6
1 5 5

n=7
1 6 6
2 5 10
3 4 12

n=8
1 7 7
3 5 15

n=9
1 8 8
2 7 14
4 5 20

n=10
1 9 9
3 7 21

n=11
1 10 10
2 9 18
3 8 24
4 7 28
5 6 30

n=12
1 11 11
5 7 35

n=13
1 12 12
2 11 22
3 10 30
4 9 36
5 8 40
6 7 42

n=14
1 13 13
3 11 33
5 9 45

n=15
1 14 14
2 13 26
4 11 44
7 8 56

n=16
1 15 15
3 13 39
5 11 55
7 9 63


n=17
1 16 16
2 15 30
3 14 42
4 13 52
5 12 60
6 11 66
7 10 70
8 9 72


cheers,
Jamie



>
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>

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


#404904

FromJamie M <jmorken@shaw.ca>
Date2016-03-28 00:56 -0700
Message-ID<ndao3s$1mui$1@gioia.aioe.org>
In reply to#404831
On 3/27/2016 3:47 PM, Jamie M wrote:
> On 3/27/2016 3:20 PM, Jamie M wrote:
>> On 3/27/2016 3:00 PM, Jamie M wrote:
>>
>>>
>>> This also implies that you can find the second half of coprimes of a
>>> primorial if you know all the coprimes less than the primorial
>>> magnitude/2 (ie for primorial 210 it is 210/2 = 105.
>>>
>>> Also if you know just half of the coprimes, you can check the
>>> corresponding position and fill it in, so you can know a random
>>> any half of coprimes and fill in the rest, ie if you know 13 is coprime
>>> for 210, then also you can know that 210-13 is coprime etc.
>>>
>>> cheers,
>>> Jamie
>>>
>>
>> The mirrored gap sequence seems to work for any number not just
>> primorials.
>


Here's a picture of a spreadsheet showing an interesting pattern for
primorials coprimes when organized into two columns so that all
pairs of coprimes add to the primorial size (30 and 210 in the
spreadsheet)

http://i.imgur.com/FNKP7gt.png

The difference (gap) in consecutive products of the coprime pairs
(column E) has greatest common divisor 12 for both primorial 30 and
primorial 210 which is interesting, so that all gaps in the products
of the pairs of coprimes are multiples of 12.  Any idea why that is?

cheers,
Jamie

of 12

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


#405305

FromJames Waldby <not@valid.invalid>
Date2016-03-30 21:03 +0000
Message-ID<ndheuo$2ne$3@dont-email.me>
In reply to#404904
On Mon, 28 Mar 2016 00:56:46 -0700, Jamie M wrote:
> Here's a picture of a spreadsheet showing an interesting pattern for
> primorials coprimes when organized into two columns so that all
> pairs of coprimes add to the primorial size (30 and 210 in the
> spreadsheet)
>                http://i.imgur.com/FNKP7gt.png
>
> The difference (gap) in consecutive products of the coprime pairs
> (column E) has greatest common divisor 12 for both primorial 30 and
> primorial 210 which is interesting, so that all gaps in the products
> of the pairs of coprimes are multiples of 12.  Any idea why that is?

Let v stand for a primorial of 6 or more (eg 6, 30, 210...)

The difference d between any two "products of coprime pairs" can be
expressed as d = q*(v-q) - p*(v-p), where none of those four factors 
are divisible by 2 or 3.  We want to show that d mod 12 is 0, which is
equivalent to showing that d is a multiple of 3 and a multiple of 4.

Expanding, we have d = q^2-p^2 + v*(q-p).  Because q-p is even and v
is a multiple of 6, v*(q-p) is a multiple of 12 and need not be 
considered further.  That is, d mod 12 == q^2 - p^2 == (q+p)*(q-p).

Because q+p and q-p are both even, d mod 12 is a multiple of 4.

Now write p = 3u+a, where a is 1 or 2, and q = 3w+b, similarly.
Consider the four (b,a) cases:  
   (1,1): q-p = 3w+1-3u-1 == 0 mod 3 so (q+p)*(q-p) == 0 mod 3
   (1,2): q+p = 3w+1+3u+2 == 0 mod 3 so (q+p)*(q-p) == 0 mod 3
   (2,1): q+p = 3w+2+3u+1 == 0 mod 3 so (q+p)*(q-p) == 0 mod 3
   (2,2): q-p = 3w+2-3u-2 == 0 mod 3 so (q+p)*(q-p) == 0 mod 3
Thus, d mod 12 is a multiple of 3.  
 
As a multiple of both 3 and 4, d mod 12 is 0, as we wanted to show.

-- 
jiw

[toc] | [prev] | [standalone]


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


csiph-web