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


Groups > sci.math > #328411

Re: set of formulas that have no prime numbers

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.math, sci.electronics.design
Subject Re: set of formulas that have no prime numbers
Date 2016-02-21 02:29 -0800
Organization Aioe.org NNTP Server
Message-ID <nac3iv$nol$1@gioia.aioe.org> (permalink)
References (5 earlier) <e26f1efd-0c39-4e7d-9692-1f8c737415b8@googlegroups.com> <nabr7o$cet$1@gioia.aioe.org> <nabs1n$dfi$1@gioia.aioe.org> <nabsri$eed$1@gioia.aioe.org> <nac1bb$kk7$1@gioia.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On 2/21/2016 1:51 AM, Jamie M wrote:
> On 2/21/2016 12:34 AM, Jamie M wrote:
>> On 2/21/2016 12:21 AM, Jamie M wrote:
>>> On 2/21/2016 12:07 AM, Jamie M wrote:
>>>> On 2/20/2016 10:27 PM, djoyce099 wrote:
>>>>>
>>>>>>
>>>>>> 2+n where n = 4,5,6,7,8,9,10,11...
>>>>>
>>>>> Correction  --
>>>>> 2+4+5+6+7+8+9+10+11...
>>>>>
>>>>> Dan
>>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> a+840n for n integers, has more integer values for 'a' that produce
>>>> primes than any other equation up to a+1000n (still testing higher)
>>>>
>>>> 630
>>>> number of prime producing equations=148
>>>> ratio 148/630 = 0.234920634920635
>>>>
>>>> 840
>>>> number of prime producing equations= 196
>>>> ratio 196/840 = 0.233333333333333
>>>>
>>>>
>>>> 840 seems to have the fewest a values that
>>>> generate primes since 840 / 7 / 5 / 3 / 2 / 2 / 2 = 1
>>>>
>>>> or in other words 840 can be divided completely by primes.
>>>>
>>>> 630 7 / 5 / 3 / 3 / 2 = 1
>>>>
>>>> or same thing these primes can be multiplied to generate
>>>> these special formulas:
>>>>
>>>> 840 = 7*5*3*2*2*2
>>>> 630 = 7*5*3*3*2
>>>>
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>>
>>>
>>>
>>> For the number 840 above, according to wikipedia:
>>>
>>> https://en.wikipedia.org/wiki/840_%28number%29
>>>
>>> it is all of these:
>>>
>>> https://en.wikipedia.org/wiki/Highly_composite_number
>>>
>>> https://en.wikipedia.org/wiki/Superabundant_number
>>>
>>> https://en.wikipedia.org/wiki/Idoneal_number
>>>
>>> So based on what I find for other numbers with the
>>> lowest ratios, like 840 has, I will narrow it down to see which
>>> of those three are important for this formula.
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> A quick targeted test for 2310, chosen to check
>> my idea that products of primes will have the
>> fewest prime producing formulas:
>>
>> 2310=2*3*5*7*11
>>
>> 2310 number of prime producing equations= 485
>> ratio= 0.20995670995671
>>
>> wikipedia says this is a "primorial" number:
>>
>> https://en.wikipedia.org/wiki/Primorial
>>
>> sequence of primorial numbers:
>> https://oeis.org/A002110
>>
>> 1, 2, 6, 30, 210, 2310, 30030, 510510, 9699690, 223092870, 6469693230,
>> 200560490130, 7420738134810, 304250263527210, 13082761331670030,
>> 614889782588491410,
>>
>> Interesting that page says:
>> "Phi(n)/n is a new minimum for each primorial. - Robert G. Wilson v, Jan
>> 10 2004"
>>
>> "Smallest number stroked off n times after the n-th sifting process in
>> an Eratosthenes sieve. - Lekraj Beedassy, Mar 31 2005"
>>
>> "Apparently each term is a new minimum for phi(x)*sigma(x)/x^2. 6/Pi^2 <
>> sigma(x)*phi(x)/x^2 < 1 for n > 1. - Jud McCranie, Jun 11 2005"
>>
>> "
>> The peaks (i.e., local maximums) in a graph of the number of repetitions
>> (i.e., the tally of values) vs. value, as generated by taking the
>> differences of all distinct pairs of odd prime numbers within a
>> contiguous range occur at regular periodic intervals given by the
>> primorial numbers 6 and greater. Larger primorials yield larger
>> (relative) peaks, however the range must be >50% larger than the
>> primorial to be easily observed. Secondary peaks occur at intervals of
>> those "near-primorials" divisible by 6 (e.g., 42). See A259629. Also,
>> periodicity at intervals of 6 and 30 can be observed in the local peaks
>> of all possible sums of two, three or more distinct odd primes within
>> modest contiguous ranges starting from p(2) = 3. - Richard R. Forberg,
>> Jul 01 2015 "
>>
>> Looks like I finally found what I'm doing, assuming this is the matching
>> sequence.
>>
>> cheers,
>> Jamie
>>
>>
>
>
> Here is the list of equation coefficients that produce all the primes
> for 2310 for n=0 to n=infinity
>
> 1,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,169,173,179,181,191,193,197,199,
>
> 211,221,223,227,229,233,239,241,247,251,257,263,269,271,277,281,283,289,293,299,
>
> 307,311,313,317,323,331,337,347,349,353,359,361,367,373,377,379,383,389,391,397,
>
> 401,403,409,419,421,431,433,437,439,443,449,457,461,463,467,479,481,487,491,493,
>
> 499,503,509,521,523,527,529,533,541,547,551,557,559,563,569,571,577,587,589,593,
>
> 599,601,607,611,613,617,619,629,631,641,643,647,653,659,661,667,673,677,683,689,
>
> 691,697,701,703,709,713,719,727,731,733,739,743,751,757,761,767,769,773,779,787,
>
> 793,797,799,809,811,817,821,823,827,829,839,841,851,853,857,859,863,871,877,881,
>
> 883,887,893,899,901,907,911,919,923,929,937,941,943,947,949,953,961,967,971,977,
>
> 983,989,991,997,1003,1007,1009,1013,1019,1021,1027,1031,1033,1037,1039,1049,1051,
>
> 1061,1063,1069,1073,1079,1081,1087,1091,1093,1097,1103,1109,1117,1121,1123,1129,
>
> 1139,1147,1151,1153,1157,1159,1163,1171,1181,1187,1189,1193,1201,1207,1213,1217,
>
> 1219,1223,1229,1231,1237,1241,1247,1249,1259,1261,1271,1273,1277,1279,1283,1289,
>
> 1291,1297,1301,1303,1307,1313,1319,1321,1327,1333,1339,1343,1349,1357,1361,1363,
>
> 1367,1369,1373,1381,1387,1391,1399,1403,1409,1411,1417,1423,1427,1429,1433,1439,
>
> 1447,1451,1453,1457,1459,1469,1471,1481,1483,1487,1489,1493,1499,1501,1511,1513,
>
> 1517,1523,1531,1537,1541,1543,1549,1553,1559,1567,1571,1577,1579,1583,1591,1597,
>
> 1601,1607,1609,1613,1619,1621,1627,1633,1637,1643,1649,1651,1657,1663,1667,1669,
>
> 1679,1681,1691,1693,1697,1699,1703,1709,1711,1717,1721,1723,1733,1739,1741,1747,
>
> 1751,1753,1759,1763,1769,1777,1781,1783,1787,1789,1801,1807,1811,1817,1819,1823,
>
> 1829,1831,1843,1847,1849,1853,1861,1867,1871,1873,1877,1879,1889,1891,1901,1907,
>
> 1909,1913,1919,1921,1927,1931,1933,1937,1943,1949,1951,1957,1961,1963,1973,1979,
>
> 1987,1993,1997,1999,2003,2011,2017,2021,2027,2029,2033,2039,2041,2047,2053,2059,
>
> 2063,2069,2071,2077,2081,2083,2087,2089,2099,2111,2113,2117,2119,2129,2131,2137,
>
> 2141,2143,2147,2153,2159,2161,2171,2173,2179,2183,2197,2201,2203,2207,2209,2213,
>
> 2221,2227,2231,2237,2239,2243,2249,2251,2257,2263,2267,2269,2273,2279,2281,2287,
>
> 2291,2293,2297,2309
>
> ie for the last one, the equation 2309 + 2310n for n=0 to n=432
> produces 166 primes, pretty decent ratio, that's a 38.4% chance
> for each value to be prime in that range up to n=432, ie primes
> up to 1million.
>
> All of those equation coefficients produce similar occurrences
> of the primes, so all primes up to 1million can be calculated with
> the set of these formulas with about 38.4% +- a couple percent
> occurrence.
>
> Also someone said before "what is the point of this if you have to
> calculate all these coefficients first anyway" well for these special
> numbers, ie 2310, I think there might be a formula to generate the big
> list of coefficients above, as there is a quite periodic pattern
> between the coefficient values.  Here is the spacing for the above
> coefficients:
>
> 1,1,2,2,4,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,14,4,6,2,10,2,6,6,4,2,
>
> 4,6,2,10,2,4,2,12,10,2,4,2,4,6,2,6,4,6,6,6,2,6,4,2,6,4,6,8,4,2,4,6,8,6,10,2,4,6,2,
>
> 6,6,4,2,4,6,2,6,4,2,6,10,2,10,2,4,2,4,6,8,4,2,4,12,2,6,4,2,6,4,6,12,2,4,2,4,8,6,4,
>
> 6,2,4,6,2,6,10,2,4,6,2,6,4,2,4,2,10,2,10,2,4,6,6,2,6,6,4,6,6,2,6,4,2,6,4,6,8,4,2,6,
>
> 4,8,6,4,6,2,4,6,8,6,4,2,10,2,6,4,2,4,2,10,2,10,2,4,2,4,8,6,4,2,4,6,6,2,6,4,8,4,6,8,
>
> 4,2,4,2,4,8,6,4,6,6,6,2,6,6,4,2,4,6,2,6,4,2,4,2,10,2,10,2,6,4,6,2,6,4,2,4,6,6,8,4,2,
>
> 6,10,8,4,2,4,2,4,8,10,6,2,4,8,6,6,4,2,4,6,2,6,4,6,2,10,2,10,2,4,2,4,6,2,6,4,2,4,6,6,
>
> 2,6,6,6,4,6,8,4,2,4,2,4,8,6,4,8,4,6,2,6,6,4,2,4,6,8,4,2,4,2,10,2,10,2,4,2,4,6,2,10,2,
>
> 4,6,8,6,4,2,6,4,6,8,4,6,2,4,8,6,4,6,2,4,6,2,6,6,4,6,6,2,6,6,4,2,10,2,10,2,4,2,4,6,2,
>
> 6,4,2,10,6,2,6,4,2,6,4,6,8,4,2,4,2,12,6,4,6,2,4,6,2,12,4,2,4,8,6,4,2,4,2,10,2,10,6,2,
>
> 4,6,2,6,4,2,4,6,6,2,6,4,2,10,6,8,6,4,2,4,8,6,4,6,2,4,6,2,6,6,6,4,6,2,6,4,2,4,2,10,12,
>
> 2,4,2,10,2,6,4,2,4,6,6,2,10,2,6,4,14,4,2,4,2,4,8,6,4,6,2,4,6,2,6,6,4,2,4,6,2,6,4,2,4,12
>
>
> Maybe comparing these spacings with other values besides 2310 can show
> the overall formula, then if that is found it should be easier to
> calculate primes.  It's possible there is no pattern that can be found
> in the spacing too, in fact these special numbers, ie 2310 might just
> have a more noisy spacing of coefficients than the less useful values
> which have lower prime density.
>
> If anyone sees a pattern in there though let me know :D
>
> cheers,
> Jamie
>
>

Ok,

I realize now that the list of prime generating coefficients for 2310, 
is *almost* just the sequence of prime digits, except for 169, and some 
semi-primes 221 in there etc..

So I am pretty sure that if instead of using 2310, I use a REALLY big
number with the same properties, ie assuming the important property is
2310 being primiorial:

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

then the biggest one listed on that page is: 557940830126698960967415390
so that is the new formula to use, and now since it is such a big number
I hypothesize that the sequence of prime generating coefficients for it,
are going to be a lot closer to the actual sequence of prime numbers,
with fewer semi-primes in there..

So now there is at least a formula to calculate the set of coefficients
to generate prime numbers at really big scales.

ie:

7 + 557940830126698960967415390n for n=0 to n=infinity

this formula should have really good prime number density (compared
to just doing a brute force prime number search) up to maybe
10^30 or something like that.  To calculate all primes using that
formula it is the sequence of these formulas (except for possible
errors of coefficients that are coprimes being excluded)

2 + 557940830126698960967415390n
3 + 557940830126698960967415390n
5 + 557940830126698960967415390n
7 + 557940830126698960967415390n
11 + 557940830126698960967415390n
(all primes) + 557940830126698960967415390n

Calculating all the primes up to 557940830126698960967415390
is still a lot of calculating, but then once they are calculated,
then even more primes can be found using that primorial set of
formulas.

cheers,
Jamie


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


Thread

set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:09 -0800
  Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:15 -0800
  Re: set of formulas that have no prime numbers Robert Baer <robertbaer@localnet.com> - 2016-02-19 12:20 -0800
    Re: set of formulas that have no prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-02-19 13:43 -0700
      Re: set of formulas that have no prime numbers Pubkeybreaker <pubkeybreaker@aol.com> - 2016-02-19 22:51 -0800
        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 03:06 -0800
  Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-20 20:11 -0800
    Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-20 20:51 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:39 -0800
        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:41 -0800
        Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-20 21:51 -0800
          Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-20 22:27 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 23:07 -0800
              Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-21 06:56 -0800
                Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-21 07:23 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 15:43 -0800
                Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-21 18:54 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:07 -0800
              Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:21 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 00:34 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 01:51 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 02:29 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:13 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 21:26 -0800
    Re: set of formulas that have no prime numbers djoyce099 <hlauk.h.bogart@gmail.com> - 2016-02-22 13:36 -0800
      Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 02:31 -0800
  Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 04:34 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 15:40 -0800
      Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 15:54 -0800
        Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:05 -0800
          Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:06 -0800
        Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:14 -0800
          Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:21 -0800
            Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:30 -0800
              Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:41 -0800
              Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:44 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:56 -0800
                Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 17:05 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 17:54 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:00 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:09 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 19:37 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:06 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:13 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 20:17 -0800
              Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 16:48 -0800
                Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-21 18:32 -0800
            Re: set of formulas that have no prime numbers Simon Christopher Roberts <retenshun@gmail.com> - 2016-02-21 16:33 -0800

csiph-web