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


Groups > sci.math > #330628 > unrolled thread

what is this pattern in coprimes of primorials 30 and 210?

Started byJamie M <jmorken@shaw.ca>
First post2016-03-28 04:16 -0700
Last post2016-03-31 11:24 +0200
Articles 8 — 4 participants

Back to article view | Back to sci.math


Contents

  what is this pattern in coprimes of primorials 30 and 210? Jamie M <jmorken@shaw.ca> - 2016-03-28 04:16 -0700
    Re: what is this pattern in coprimes of primorials 30 and 210? John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-28 08:33 -0700
      Re: what is this pattern in coprimes of primorials 30 and 210? Jamie M <jmorken@shaw.ca> - 2016-03-28 09:12 -0700
    Re: what is this pattern in coprimes of primorials 30 and 210? Leon Aigret <aigret@address.invalid> - 2016-03-28 18:31 +0200
      Re: what is this pattern in coprimes of primorials 30 and 210? Jamie M <jmorken@shaw.ca> - 2016-03-29 14:07 -0700
      Re: what is this pattern in coprimes of primorials 30 and 210? Jamie M <jmorken@shaw.ca> - 2016-03-29 17:07 -0700
        Re: what is this pattern in coprimes of primorials 30 and 210? Jamie M <jmorken@shaw.ca> - 2016-03-30 00:49 -0700
    Re: what is this pattern in coprimes of primorials 30 and 210? Ignacio Larrosa Cañestro <ilarrosa@mundo-r.com> - 2016-03-31 11:24 +0200

#330628 — what is this pattern in coprimes of primorials 30 and 210?

FromJamie M <jmorken@shaw.ca>
Date2016-03-28 04:16 -0700
Subjectwhat is this pattern in coprimes of primorials 30 and 210?
Message-ID<ndb3pn$9qp$1@gioia.aioe.org>
Hi,

For the coprimes of 30:
1,7,11,13,17,19,23,29
I organized them into two columns like this,
where the sum of each row is 30:

1 29
7 23
11 19
13 17

Then took the product of each row:

29
161
209
221

Then I took the difference of these:

161-29=132
209-161=48
221-209=12

And noticed that 132,48 and 12 all have greatest common divisor 12.

I also did the same for the coprimes of 210:
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,

I organized them into two columns like this,
where the sum of each row is 210:

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


Then took the product of each row:

209
2189
2561
3281
3629
4301
5249
5549
6401
6929
7181
7661
8321
8909
9089
9581
9869
10001
10349
10541
10769
10961
11009
11021

Then I took the difference of these:

ie: 2189-209=1980

1980
372
720
348
672
948
300
852
528
252
480
660
588
180
492
288
132
348
192
228
192
48
12

And noticed that all these also have greatest common divisor of 12, just
like for primorial 30.

So I am guessing that all primorials have the same pattern but not sure.

The question I have is where does this greatest common divisor of 12
come from?

Here is a picture of the spreadsheet I used:

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

cheers,
Jamie

[toc] | [next] | [standalone]


#330652

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-28 08:33 -0700
Message-ID<1kjifbdcfrhthujspc84g11s8snhjnfh5t@4ax.com>
In reply to#330628
On Mon, 28 Mar 2016 04:16:10 -0700, Jamie M <jmorken@shaw.ca> wrote:


Take all this number theory to a serious math group, where it will get
the reception that it deserves.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

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


#330656

FromJamie M <jmorken@shaw.ca>
Date2016-03-28 09:12 -0700
Message-ID<ndbl5t$199v$1@gioia.aioe.org>
In reply to#330652
On 3/28/2016 8:33 AM, John Larkin wrote:
> On Mon, 28 Mar 2016 04:16:10 -0700, Jamie M <jmorken@shaw.ca> wrote:
>
>
> Take all this number theory to a serious math group, where it will get
> the reception that it deserves.
>
>

There are lots of smart math people here and on sci.math,
probably most not as interested in prime numbers as I currently
am, but to each their own hehe

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


#330659

FromLeon Aigret <aigret@address.invalid>
Date2016-03-28 18:31 +0200
Message-ID<n1nifbprm7mfj02q5sqrg8pt6s99h8dlih@4ax.com>
In reply to#330628
On Mon, 28 Mar 2016 04:16:10 -0700, Jamie M <jmorken@shaw.ca> wrote:

>Hi,
>
>For the coprimes of 30:
>1,7,11,13,17,19,23,29
>I organized them into two columns like this,
>where the sum of each row is 30:
>
>1 29
>7 23
>11 19
>13 17
>
>Then took the product of each row:
>
>29
>161
>209
>221
>
>Then I took the difference of these:
>
>161-29=132
>209-161=48
>221-209=12
>
>And noticed that 132,48 and 12 all have greatest common divisor 12.
>
>I also did the same for the coprimes of 210:

{snip}

>And noticed that all these also have greatest common divisor of 12, just
>like for primorial 30.
>
>So I am guessing that all primorials have the same pattern but not sure.
>
>The question I have is where does this greatest common divisor of 12
>come from?

Let's call the primorial p and the "coprimes" m and n. Then the 

products become m (p - m) and n (p - n) and the difference of the two 

can be rewritten as d = (p - m - n) (m - n).

Since all "coprimes" are odd, their difference, their sum, and

p - m - n are all even, so d is a multiple of 4.

Each "coprime" is of the type 3 k + 1 or 3 k + 2. If m and n are of 

the same type then m - n is divisible by 3. If they are of different 

types then m + n and p - m - n are divisible by 3.

So in both cases d is a multiple of 3, which in combiation with the 

divisibility by 4 means that d is a multiple of 12.

As you can see, the proof takes just some simple algebra and facts 

that have been mentioned here before.

Leon

>Here is a picture of the spreadsheet I used:
>
>http://i.imgur.com/FNKP7gt.png

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


#330823

FromJamie M <jmorken@shaw.ca>
Date2016-03-29 14:07 -0700
Message-ID<ndeqqd$jg5$2@gioia.aioe.org>
In reply to#330659
On 3/28/2016 9:31 AM, Leon Aigret wrote:


> Let's call the primorial p and the "coprimes" m and n. Then the
>
> products become m (p - m) and n (p - n) and the difference of the two
>
> can be rewritten as d = (p - m - n) (m - n).
>
> Since all "coprimes" are odd, their difference, their sum, and
>
> p - m - n are all even, so d is a multiple of 4.
>
> Each "coprime" is of the type 3 k + 1 or 3 k + 2. If m and n are of
>
> the same type then m - n is divisible by 3. If they are of different
>
> types then m + n and p - m - n are divisible by 3.
>
> So in both cases d is a multiple of 3, which in combiation with the
>
> divisibility by 4 means that d is a multiple of 12.
>
> As you can see, the proof takes just some simple algebra and facts
>
> that have been mentioned here before.
>
> Leon
>

Thanks for the answer!

cheers,
Jamie

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


#330829

FromJamie M <jmorken@shaw.ca>
Date2016-03-29 17:07 -0700
Message-ID<ndf5c8$13i0$2@gioia.aioe.org>
In reply to#330659
On 3/28/2016 9:31 AM, Leon Aigret wrote:
> On Mon, 28 Mar 2016 04:16:10 -0700, Jamie M <jmorken@shaw.ca> wrote:
>
>> Hi,
>>
>> For the coprimes of 30:
>> 1,7,11,13,17,19,23,29
>> I organized them into two columns like this,
>> where the sum of each row is 30:
>>
>> 1 29
>> 7 23
>> 11 19
>> 13 17
>>
>> Then took the product of each row:
>>
>> 29
>> 161
>> 209
>> 221
>>
>> Then I took the difference of these:
>>
>> 161-29=132
>> 209-161=48
>> 221-209=12
>>
>> And noticed that 132,48 and 12 all have greatest common divisor 12.
>>
>> I also did the same for the coprimes of 210:
>
> {snip}
>
>> And noticed that all these also have greatest common divisor of 12, just
>> like for primorial 30.
>>
>> So I am guessing that all primorials have the same pattern but not sure.
>>
>> The question I have is where does this greatest common divisor of 12
>> come from?
>
> Let's call the primorial p and the "coprimes" m and n. Then the
>
> products become m (p - m) and n (p - n) and the difference of the two
>
> can be rewritten as d = (p - m - n) (m - n).
>
> Since all "coprimes" are odd, their difference, their sum, and
>
> p - m - n are all even, so d is a multiple of 4.
>
> Each "coprime" is of the type 3 k + 1 or 3 k + 2. If m and n are of
>
> the same type then m - n is divisible by 3. If they are of different
>
> types then m + n and p - m - n are divisible by 3.
>
> So in both cases d is a multiple of 3, which in combiation with the
>
> divisibility by 4 means that d is a multiple of 12.
>
> As you can see, the proof takes just some simple algebra and facts
>
> that have been mentioned here before.


Hi,

I was wondering also about this pattern I found:

For the sequence of coprimes of a primorial, ie 30:
has values 1,7,11,13,17,19,23,29, which have gaps:

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

= 6, 4, 2, 4, 2, 4, 6, 2
The sum of these gaps is 6+4+2+4+2+4+6+2=30

I'm not sure why the sum of the gaps is equal to the
primorial but it is interesting I think, any ideas?

This works for other primorials ie
EulerPhi(210)=48, and the sum of those
48 values = 210

ie:

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: (includes gap from 209 to 1)

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


The gaps have a sum of 210

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+2=210

Any idea why this is?

cheers,
Jamie


>
> Leon
>
>> Here is a picture of the spreadsheet I used:
>>
>> http://i.imgur.com/FNKP7gt.png

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


#330848

FromJamie M <jmorken@shaw.ca>
Date2016-03-30 00:49 -0700
Message-ID<ndg0f3$ak7$1@gioia.aioe.org>
In reply to#330829
On 3/29/2016 5:07 PM, Jamie M wrote:

> Hi,
>
> I was wondering also about this pattern I found:
>
> For the sequence of coprimes of a primorial, ie 30:
> has values 1,7,11,13,17,19,23,29, which have gaps:
>
> 1-7 11-7, 13-11, 17-13, 19-17, 23-19, 29-23, 29-1
>
> = 6, 4, 2, 4, 2, 4, 6, 2
> The sum of these gaps is 6+4+2+4+2+4+6+2=30
>
> I'm not sure why the sum of the gaps is equal to the
> primorial but it is interesting I think, any ideas?
>

Oops please ignore that last post it is obvious
why it equals 30 since the gaps add up to 30 doh!!

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


#330997

FromIgnacio Larrosa Cañestro <ilarrosa@mundo-r.com>
Date2016-03-31 11:24 +0200
Message-ID<ndiqcq$sro$1@ignaciolarrosa.eternal-september.org>
In reply to#330628
El 28/03/2016 a las 13:16, Jamie M escribió:
> Hi,
>
> For the coprimes of 30:
> 1,7,11,13,17,19,23,29
> I organized them into two columns like this,
> where the sum of each row is 30:
>
> 1 29
> 7 23
> 11 19
> 13 17
>
> Then took the product of each row:
>
> 29
> 161
> 209
> 221
>
> Then I took the difference of these:
>
> 161-29=132
> 209-161=48
> 221-209=12
>
> And noticed that 132,48 and 12 all have greatest common divisor 12.
>
> I also did the same for the coprimes of 210:
> 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,
>
>
> I organized them into two columns like this,
> where the sum of each row is 210:
>
> 1    209
> 11    199
> 13    197
> 17    193
> 19    191
> 23    187
> 29    181
> 31    179
> 37    173
> 41    169
> 43    167
> 47    163
> 53    157
> 59    151
> 61    149
> 67    143
> 71    139
> 73    137
> 79    131
> 83    127
> 89    121
> 97    113
> 101    109
> 103    107
>
>
> Then took the product of each row:
>
> 209
> 2189
> 2561
> 3281
> 3629
> 4301
> 5249
> 5549
> 6401
> 6929
> 7181
> 7661
> 8321
> 8909
> 9089
> 9581
> 9869
> 10001
> 10349
> 10541
> 10769
> 10961
> 11009
> 11021
>
> Then I took the difference of these:
>
> ie: 2189-209=1980
>
> 1980
> 372
> 720
> 348
> 672
> 948
> 300
> 852
> 528
> 252
> 480
> 660
> 588
> 180
> 492
> 288
> 132
> 348
> 192
> 228
> 192
> 48
> 12
>
> And noticed that all these also have greatest common divisor of 12, just
> like for primorial 30.
>
> So I am guessing that all primorials have the same pattern but not sure.
>
> The question I have is where does this greatest common divisor of 12
> come from?
>
> Here is a picture of the spreadsheet I used:
>
> http://i.imgur.com/FNKP7gt.png
>
> cheers,
> Jamie
>
>

If you define

f(n) ≔
   Prog
     v ≔ SELECT(GCD(k, n) = 1, k, 1, n)
     l ≔ DIM(v)
     w ≔ VECTOR(v↓i·v↓(l + 1 - i), i, 1, l/2)
     u ≔ VECTOR(w↓(i + 1) - w↓i, i, 1, l/2 - 1)
     RETURN GCD(u)

then f(#p) = 12 for almost p = 5, 7, 11, 13 and 17, where #p is the 
primorial of p, i.e.

#p = Product(k, k prime <= p)

But this function f(n) apparently has many other patterns:

f(10*2^k) = 8, k = 1..15
f(60*k) = 24, k = 1..100
f(p) = 2, p prime
f(3^k) = 6, k > 1
f(6*m) = 12, m > 1, if m odd  (it include primorials)
        = 24, if m even
....

Particularly, if n = 6*m with m odd, the factors are

(3m-k)(3m+k) = 9m^2 - k^2

with k even, k =/= 0 (mod 3). It is, k = 2 or 4 (mod 6)

Then, two consecutive factors are

9m^2 - (6s + 2)^2, 9m^2 - (6s + 4)^2

and its difference is

(6s + 4)^2 - (6s + 2)^2 =

24s + 12 = 12(2s + 1)

ever multiple of 12.

As the top two products are

9m^2 - 4, 9m^2 - 16

its difference is 12, and then all the differences are multiples of 12.

Perhaps it must be completed in some aspect, but that is the idea


Saludos,

Ignacio Larrosa Cañestro
A Coruña (España)
ilarrosa@mundo-r.com
http://www.xente.mundo-r.com/ilarrosa/GeoGebra/

[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web