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


Groups > sci.math > #328989 > unrolled thread

why do prime + primorial(n) equations produce more primes than prime + non primorial(n)

Started byJamie M <jmorken@shaw.ca>
First post2016-02-27 18:28 -0800
Last post2016-02-28 08:52 -0800
Articles 13 — 4 participants

Back to article view | Back to sci.math


Contents

  why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-27 18:28 -0800
    Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) William Elliot <marsh@panix.com> - 2016-02-27 18:46 -0800
      Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-27 19:37 -0800
        Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) William Elliot <marsh@panix.com> - 2016-02-27 20:10 -0800
          Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-27 22:03 -0800
            Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-27 22:05 -0800
              Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) bert <bert.hutchings@btinternet.com> - 2016-02-28 06:35 -0800
                Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-28 07:40 -0800
                  Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-28 07:48 -0800
                    Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) bert <bert.hutchings@btinternet.com> - 2016-02-28 08:16 -0800
                      Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-28 09:11 -0800
    Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Pubkeybreaker <pubkeybreaker@aol.com> - 2016-02-28 00:35 -0800
      Re: why do prime + primorial(n) equations produce more primes than prime + non primorial(n) Jamie M <jmorken@shaw.ca> - 2016-02-28 08:52 -0800

#328989 — why do prime + primorial(n) equations produce more primes than prime + non primorial(n)

FromJamie M <jmorken@shaw.ca>
Date2016-02-27 18:28 -0800
Subjectwhy do prime + primorial(n) equations produce more primes than prime + non primorial(n)
Message-ID<natlvv$1g23$1@gioia.aioe.org>
Hi,

For the equation with a prime added to a primorial multiplied by an 
integer, ie the prime 17 and primorial 210

a = 17 + 210(n)

for n from zero to infinity

These equations in this form produce more primes a than any other
equation in the same form without primorials.

Why is this?  Also it is interesting that a primorial which is
the exact opposite of a prime (ie has max divisors), would have a
higher likelihood of producing primes, than say the equation

a = 17 + 209(n)

I think the answer is simple but am curious what anyone else might
think.

cheers,
Jamie


[toc] | [next] | [standalone]


#328990

FromWilliam Elliot <marsh@panix.com>
Date2016-02-27 18:46 -0800
Message-ID<Pine.NEB.4.64.1602271844210.28378@panix2.panix.com>
In reply to#328989
What's a primorial number?

> For the equation with a prime added to a primorial multiplied by an integer,
> ie the prime 17 and primorial 210
> 
> a = 17 + 210(n)
> 
> for n from zero to infinity
> 
> These equations in this form produce more primes a than any other
> equation in the same form without primorials.
> 
> Why is this?  Also it is interesting that a primorial which is
> the exact opposite of a prime (ie has max divisors), would have a
> higher likelihood of producing primes, than say the equation
> 
> a = 17 + 209(n)
> 
> I think the answer is simple but am curious what anyone else might
> think.
> 
> cheers,
> Jamie
> 
> 
> 
> 

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


#328996

FromJamie M <jmorken@shaw.ca>
Date2016-02-27 19:37 -0800
Message-ID<natq1o$1kjc$1@gioia.aioe.org>
In reply to#328990
On 2/27/2016 6:46 PM, William Elliot wrote:
> What's a primorial number?
>
>> For the equation with a prime added to a primorial multiplied by an integer,
>> ie the prime 17 and primorial 210
>>
>> a = 17 + 210(n)
>>
>> for n from zero to infinity
>>
>> These equations in this form produce more primes a than any other
>> equation in the same form without primorials.
>>
>> Why is this?  Also it is interesting that a primorial which is
>> the exact opposite of a prime (ie has max divisors), would have a
>> higher likelihood of producing primes, than say the equation
>>
>> a = 17 + 209(n)
>>
>> I think the answer is simple but am curious what anyone else might
>> think.
>>
>> cheers,
>> Jamie
>>
>>
>>
>>


Info on primorials:

https://en.wikipedia.org/wiki/Primorial#Table_of_primorials

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


#328997

FromWilliam Elliot <marsh@panix.com>
Date2016-02-27 20:10 -0800
Message-ID<Pine.NEB.4.64.1602272005590.18086@panix2.panix.com>
In reply to#328996
On Sat, 27 Feb 2016, Jamie M wrote:
> On 2/27/2016 6:46 PM, William Elliot wrote:

> > What's a primorial number?

Define primorial number.

> > > For the equation with a prime added to a primorial multiplied by an 
> > > integer, ie the prime 17 and primorial 210
> > > 
> > > a = 17 + 210(n)
> > > 
> > > for n from zero to infinity
> > > 
> > > These equations in this form produce more primes a than any other
> > > equation in the same form without primorials.
> > > 
> > > Why is this?  Also it is interesting that a primorial which is
> > > the exact opposite of a prime (ie has max divisors), would have a
> > > higher likelihood of producing primes, than say the equation
> > > 
> > > a = 17 + 209(n)
> > > 
> > > I think the answer is simple but am curious what anyone else might
> > > think.
> > > 
> > > cheers,
> > > Jamie
> > > 
> > > 
> > > 
> > > 
> 
> 
> Info on primorials:
> 
> https://en.wikipedia.org/wiki/Primorial#Table_of_primorials
> 
> 
> 

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


#329002

FromJamie M <jmorken@shaw.ca>
Date2016-02-27 22:03 -0800
Message-ID<nau2it$1t31$2@gioia.aioe.org>
In reply to#328997
On 2/27/2016 8:10 PM, William Elliot wrote:
> On Sat, 27 Feb 2016, Jamie M wrote:
>> On 2/27/2016 6:46 PM, William Elliot wrote:
>
>>> What's a primorial number?
>
> Define primorial number.
>
>>>> For the equation with a prime added to a primorial multiplied by an
>>>> integer, ie the prime 17 and primorial 210
>>>>
>>>> a = 17 + 210(n)
>>>>
>>>> for n from zero to infinity
>>>>
>>>> These equations in this form produce more primes a than any other
>>>> equation in the same form without primorials.
>>>>
>>>> Why is this?  Also it is interesting that a primorial which is
>>>> the exact opposite of a prime (ie has max divisors), would have a
>>>> higher likelihood of producing primes, than say the equation
>>>>
>>>> a = 17 + 209(n)
>>>>
>>>> I think the answer is simple but am curious what anyone else might
>>>> think.
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>>
>>>>
>>
>>
>> Info on primorials:
>>
>> https://en.wikipedia.org/wiki/Primorial#Table_of_primorials
>>
>>
>>


A primorial is the product of consecutive primes starting at 2,
ie list of primorials:

2=2
6=2*3
30=2*3*5
210=2*3*5*7
2310=2*3*5*7*11

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


#329003

FromJamie M <jmorken@shaw.ca>
Date2016-02-27 22:05 -0800
Message-ID<nau2n8$1t31$3@gioia.aioe.org>
In reply to#329002
On 2/27/2016 10:03 PM, Jamie M wrote:
> On 2/27/2016 8:10 PM, William Elliot wrote:
>> On Sat, 27 Feb 2016, Jamie M wrote:
>>> On 2/27/2016 6:46 PM, William Elliot wrote:
>>
>>>> What's a primorial number?
>>
>> Define primorial number.
>>
>>>>> For the equation with a prime added to a primorial multiplied by an
>>>>> integer, ie the prime 17 and primorial 210
>>>>>
>>>>> a = 17 + 210(n)
>>>>>
>>>>> for n from zero to infinity
>>>>>
>>>>> These equations in this form produce more primes a than any other
>>>>> equation in the same form without primorials.
>>>>>
>>>>> Why is this?  Also it is interesting that a primorial which is
>>>>> the exact opposite of a prime (ie has max divisors), would have a
>>>>> higher likelihood of producing primes, than say the equation
>>>>>
>>>>> a = 17 + 209(n)
>>>>>
>>>>> I think the answer is simple but am curious what anyone else might
>>>>> think.
>>>>>
>>>>> cheers,
>>>>> Jamie
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> Info on primorials:
>>>
>>> https://en.wikipedia.org/wiki/Primorial#Table_of_primorials
>>>
>>>
>>>
>
>
> A primorial is the product of consecutive primes starting at 2,
> ie list of primorials:
>
> 2=2
> 6=2*3
> 30=2*3*5
> 210=2*3*5*7
> 2310=2*3*5*7*11


In a way primorials are the exact opposite of prime numbers, ie
primorials have the most divisors and prime numbers have the
fewest divisors.

There is a spectrum of how "prime" a number is, related to how
many divisors the number has, with primes at one end of the
spectrum and primorials at the other end.

cheers,
Jamie

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


#329045

Frombert <bert.hutchings@btinternet.com>
Date2016-02-28 06:35 -0800
Message-ID<65e2a750-8a52-4797-8c4c-21cd525374c1@googlegroups.com>
In reply to#329003
On Sunday, 28 February 2016 06:05:36 UTC, Jamie M  wrote:
> In a way primorials are the exact opposite of prime numbers, ie
> primorials have the most divisors and prime numbers have the
> fewest divisors.

Wrong.  There are web pages describing "highly composite numbers" 
which have more divisors than any other numbers of similar size.

However, you may be right if you meant "most PRIME divisors", 
but if so, you need to be more careful with your terminology.
-- 

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


#329049

FromJamie M <jmorken@shaw.ca>
Date2016-02-28 07:40 -0800
Message-ID<nav4d8$1i1d$1@gioia.aioe.org>
In reply to#329045
On 2/28/2016 6:35 AM, bert wrote:
> On Sunday, 28 February 2016 06:05:36 UTC, Jamie M  wrote:
>> In a way primorials are the exact opposite of prime numbers, ie
>> primorials have the most divisors and prime numbers have the
>> fewest divisors.
>
> Wrong.  There are web pages describing "highly composite numbers"
> which have more divisors than any other numbers of similar size.
>
> However, you may be right if you meant "most PRIME divisors",
> but if so, you need to be more careful with your terminology.
>

Can you give an example of a number less than a primorial that
has more divisors?

cheers,
Jamie

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


#329053

FromJamie M <jmorken@shaw.ca>
Date2016-02-28 07:48 -0800
Message-ID<nav4s9$1j7f$1@gioia.aioe.org>
In reply to#329049
On 2/28/2016 7:40 AM, Jamie M wrote:
> On 2/28/2016 6:35 AM, bert wrote:
>> On Sunday, 28 February 2016 06:05:36 UTC, Jamie M  wrote:
>>> In a way primorials are the exact opposite of prime numbers, ie
>>> primorials have the most divisors and prime numbers have the
>>> fewest divisors.
>>
>> Wrong.  There are web pages describing "highly composite numbers"
>> which have more divisors than any other numbers of similar size.
>>
>> However, you may be right if you meant "most PRIME divisors",
>> but if so, you need to be more careful with your terminology.
>>
>
> Can you give an example of a number less than a primorial that
> has more divisors?
>
> cheers,
> Jamie
>

Hmm, ok ya I see 180 has 18 divisors:

1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 30, 36, 45, 60, 90, 180

and 180 = 2^2×3^2×5  (5 prime factors, 3 distinct)

Whereas the primorial 210 has only 16 divisors, so yep I was wrong.

Is there a formula to find how many divisors 180 has based on its
prime factors?

cheers,
Jamie

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


#329059

Frombert <bert.hutchings@btinternet.com>
Date2016-02-28 08:16 -0800
Message-ID<2afa3f15-1c35-4ca5-8975-348b6ddddb0d@googlegroups.com>
In reply to#329053
On Sunday, 28 February 2016 15:48:34 UTC, Jamie M  wrote:
> Is there a formula to find how many divisors 180 has based on its
> prime factors?

Oh, yes, but I think you could have worked it out yourself.

In prime factors, 180 = 2^2 . 3^2 . 5
Any of its divisors must be 2^x . 3^y . 5^z 
where 0 <= x <= 2, 0 <= y <= 2, and 0 <= z <= 1.
So combining all the possibilities, I make it that 180 
has 3 * 3 * 2 = 18 divisors, which include 1 and 180.
-- 

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


#329061

FromJamie M <jmorken@shaw.ca>
Date2016-02-28 09:11 -0800
Message-ID<nav9na$1s12$1@gioia.aioe.org>
In reply to#329059
On 2/28/2016 8:16 AM, bert wrote:
> On Sunday, 28 February 2016 15:48:34 UTC, Jamie M  wrote:
>> Is there a formula to find how many divisors 180 has based on its
>> prime factors?
>
> Oh, yes, but I think you could have worked it out yourself.
>
> In prime factors, 180 = 2^2 . 3^2 . 5
> Any of its divisors must be 2^x . 3^y . 5^z
> where 0 <= x <= 2, 0 <= y <= 2, and 0 <= z <= 1.
> So combining all the possibilities, I make it that 180
> has 3 * 3 * 2 = 18 divisors, which include 1 and 180.
>

Thanks, I had been doing it in code using a powerset of
the prime factors which works too.

foreach (var p in power_set_primes)
{
	var factor = p.Select(x => x.x).Aggregate(1, (x, y) => x * y);
	factors.Add(factor);
}

cheers,
Jamie

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


#329010

FromPubkeybreaker <pubkeybreaker@aol.com>
Date2016-02-28 00:35 -0800
Message-ID<b3035d94-43f8-4fd2-b68d-66bb1c981a03@googlegroups.com>
In reply to#328989
On Saturday, February 27, 2016 at 9:28:23 PM UTC-5, Jamie M wrote:
> Hi,
> 
> For the equation with a prime added to a primorial multiplied by an 
> integer, ie the prime 17 and primorial 210
> 
> a = 17 + 210(n)
> 
> for n from zero to infinity
> 
> These equations in this form produce more primes a than any other
> equation in the same form without primorials.
> 
> Why is this?  Also it is interesting that a primorial which is
> the exact opposite of a prime (ie has max divisors), would have a
> higher likelihood of producing primes, than say the equation
> 
> a = 17 + 209(n)
> 
> I think the answer is simple but am curious what anyone else might
> think.


Answer:  Dirichlet's Theorem for Primes in Arithmetic Progression.

Hint:  Compare 1/phi(n)  when n is prime  versus when n is composite.

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


#329060

FromJamie M <jmorken@shaw.ca>
Date2016-02-28 08:52 -0800
Message-ID<nav8ju$1q1a$1@gioia.aioe.org>
In reply to#329010
On 2/28/2016 12:35 AM, Pubkeybreaker wrote:
> On Saturday, February 27, 2016 at 9:28:23 PM UTC-5, Jamie M wrote:
>> Hi,
>>
>> For the equation with a prime added to a primorial multiplied by an
>> integer, ie the prime 17 and primorial 210
>>
>> a = 17 + 210(n)
>>
>> for n from zero to infinity
>>
>> These equations in this form produce more primes a than any other
>> equation in the same form without primorials.
>>
>> Why is this?  Also it is interesting that a primorial which is
>> the exact opposite of a prime (ie has max divisors), would have a
>> higher likelihood of producing primes, than say the equation
>>
>> a = 17 + 209(n)
>>
>> I think the answer is simple but am curious what anyone else might
>> think.
>
>
> Answer:  Dirichlet's Theorem for Primes in Arithmetic Progression.
>
> Hint:  Compare 1/phi(n)  when n is prime  versus when n is composite.
>

Hi,

Thanks, for the formula a = b + 2310(n) for n=0 to infinity,
there are a total of 485 values of b that produce primes a.

343 of those values of b are prime numbers, and 142 of them are
composites:

prime b's:  (these are just the prime numbers)
2,3,5,7,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,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,
229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,
353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,
479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,
617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,
757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,
907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,
1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,
1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,
1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,
1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,
1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,
1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,
1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,
1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,
2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,
2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309


composite b's:
1,169,221,247,289,299,323,361,377,391,403,437,481,493,527,529,533,551,559,589,611,
629,667,689,697,703,713,731,767,779,793,799,817,841,851,871,893,899,901,923,943,949,
961,989,1003,1007,1027,1037,1073,1079,1081,1121,1139,1147,1157,1159,1189,1207,1219,
1241,1247,1261,1271,1273,1313,1333,1339,1343,1349,1357,1363,1369,1387,1391,1403,1411,
1417,1457,1469,1501,1513,1517,1537,1541,1577,1591,1633,1643,1649,1651,1679,1681,1691,
1703,1711,1717,1739,1751,1763,1769,1781,1807,1817,1819,1829,1843,1849,1853,1891,1909,
1919,1921,1927,1937,1943,1957,1961,1963,2021,2033,2041,2047,2059,2071,2077,2117,2119,
2147,2159,2171,2173,2183,2197,2201,2209,2227,2231,2249,2257,2263,2279,2291

All of these composite b's are composed of prime factors that are larger
than the prime factors in 2310.

Here is what I would like to know, the permutation to determine how
many values of b there will be (primes plus composites) and also how
can the list of b values be determined based only on the value 2310 and
it's properties, ie having 32 divisors:

1, 2, 3, 5, 6, 7, 10, 11, 14, 15, 21, 22, 30, 33, 35, 42, 55, 66, 70, 
77, 105, 110, 154, 165, 210, 231, 330, 385, 462, 770, 1155, 2310

and 5 unique prime factors:
2×3×5×7×11

So given any number ie 2310 how can I determine that there are
485 values of b that produce primes, and 343 of those values of b are 
prime numbers, and 142 of them are composites?

cheers,
Jamie




[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web