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


Groups > sci.math > #328174 > unrolled thread

set of formulas that have no prime numbers

Started byJamie M <jmorken@shaw.ca>
First post2016-02-18 02:09 -0800
Last post2016-02-21 16:33 -0800
Articles 20 on this page of 48 — 6 participants

Back to article view | Back to sci.math


Contents

  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

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#328410

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 01:51 -0800
Message-ID<nac1bb$kk7$1@gioia.aioe.org>
In reply to#328406
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

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


#328411

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 02:29 -0800
Message-ID<nac3iv$nol$1@gioia.aioe.org>
In reply to#328410
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


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


#328385

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:13 -0800
Message-ID<nabh1n$1v1$1@gioia.aioe.org>
In reply to#328379
On 2/20/2016 8:11 PM, djoyce099 wrote:
> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>> Hi,
>>
>> These two sets of formulas will produce no prime numbers from n=0 to
>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>
>> The interesting ones are with odd numbers, as the even numbers
>> are easy to see they don't produce primes, but the odd ones not
>> producing primes is pretty interesting.
>>
>> set1:
>> 2+6n (produces a single prime 2)
>> 3+6n (produces a single prime 3)
>> 4+6n
>> 6+6n
>>
>> set2:
>> 2+60n (produces a single prime 2)
>> 4+60n
>> 5+60n
>> 6+60n
>> 8+60n
>> 9+60n
>> 10+60n
>> 12+60n
>> 14+60n
>> 15+60n
>> 18+60n
>> 20+60n
>> 21+60n
>> 22+60n
>> 24+60n
>> 25+60n
>> 26+60n
>> 27+60n
>> 28+60n
>> 30+60n
>> 32+60n
>> 33+60n
>> 34+60n
>> 35+60n
>> 36+60n
>> 38+60n
>> 39+60n
>> 40+60n
>> 42+60n
>> 44+60n
>> 45+60n
>> 46+60n
>> 48+60n
>> 50+60n
>> 51+60n
>> 52+60n
>> 54+60n
>> 55+60n
>> 56+60n
>> 57+60n
>> 58+60n
>>
>> cheers,
>> Jamie
>
> The only pattern possible to find all the primes is
> sieving out all the odd composites.
> A definite pattern can be observed when starting this
> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
> thus eliminating all primes in this -->oo table.
>
> It begins with --
> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>  From this point on taking (abs-2)+ the first summation (4) =6(*-1) =-6 for the next row negation.
> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
> -62 =42 (12+11+10+9+8+7+6+5+4+3+2) 42,54,65,75,84,92,99,105,110,114,117,119
> -74 =45 (13+...
> Each row summation starting with (-2) is a sequential summation of the triangle
> numbers -1
> Starting with t(4)-1. the next is t(5)-1 and so on.
> As proposed, there will never be a prime produced from the table above because
> it produces all the odd composite numbers as with most all even composites.
>
> There are a few even exceptions like the even perfect numbers and 2*n and
> also a few deficient by 2 even numbers, a total of (5) that are known.
> Most importantly putting all the even composites aside, all the odd composites
> are accountable in the above table thus eliminating all the primes.
>
> The table above is all based on the sequential triangle numbers -1 starting
> with t(4)-1.
>
> A python program works great in this sieve which cherry picks out the primes
> in the empty odd index spots in the sieve array.
>
> Who claims no patterns are connected to the primes?
> Well here is a table that has a definite pattern that -->oo
>
> Dan
>

Hi,

Cool table, did you make that one up? :)

Seems to work great.

Here is another one I came up with today:


product of list of primes, ie 2*3*5*7 = 210

coefficient+210n

That formula has the fewest integer coefficients of
any other values less than 210 to generate all the primes.

Another example with even more dense primes in the
formulas:

product of primes ie: 2*3*5*7*11*13*17*19*23*29
=6469693230

integer coefficient+6469693230n

That formula has the fewest integer coefficients of
any other values less than 6469693230 to generate all the primes.

See the pattern! :D

Basically if you take the full set of all infinite prime
numbers, and take the product of all of them combined,
then make a formula with that like the above, you will
still have the best ability to generate all the primes with
the highest occurrence density.


cheers,
Jamie

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


#328388

FromJamie M <jmorken@shaw.ca>
Date2016-02-20 21:26 -0800
Message-ID<nabhqa$2sk$1@gioia.aioe.org>
In reply to#328385
On 2/20/2016 9:13 PM, Jamie M wrote:
> On 2/20/2016 8:11 PM, djoyce099 wrote:
>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>> Hi,
>>>
>>> These two sets of formulas will produce no prime numbers from n=0 to
>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>
>>> The interesting ones are with odd numbers, as the even numbers
>>> are easy to see they don't produce primes, but the odd ones not
>>> producing primes is pretty interesting.
>>>
>>> set1:
>>> 2+6n (produces a single prime 2)
>>> 3+6n (produces a single prime 3)
>>> 4+6n
>>> 6+6n
>>>
>>> set2:
>>> 2+60n (produces a single prime 2)
>>> 4+60n
>>> 5+60n
>>> 6+60n
>>> 8+60n
>>> 9+60n
>>> 10+60n
>>> 12+60n
>>> 14+60n
>>> 15+60n
>>> 18+60n
>>> 20+60n
>>> 21+60n
>>> 22+60n
>>> 24+60n
>>> 25+60n
>>> 26+60n
>>> 27+60n
>>> 28+60n
>>> 30+60n
>>> 32+60n
>>> 33+60n
>>> 34+60n
>>> 35+60n
>>> 36+60n
>>> 38+60n
>>> 39+60n
>>> 40+60n
>>> 42+60n
>>> 44+60n
>>> 45+60n
>>> 46+60n
>>> 48+60n
>>> 50+60n
>>> 51+60n
>>> 52+60n
>>> 54+60n
>>> 55+60n
>>> 56+60n
>>> 57+60n
>>> 58+60n
>>>
>>> cheers,
>>> Jamie
>>
>> The only pattern possible to find all the primes is
>> sieving out all the odd composites.
>> A definite pattern can be observed when starting this
>> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
>> thus eliminating all primes in this -->oo table.
>>
>> It begins with --
>> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
>> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>>  From this point on taking (abs-2)+ the first summation (4) =6(*-1)
>> =-6 for the next row negation.
>> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
>> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
>> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
>> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
>> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
>> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
>> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
>> -62 =42 (12+11+10+9+8+7+6+5+4+3+2)
>> 42,54,65,75,84,92,99,105,110,114,117,119
>> -74 =45 (13+...
>> Each row summation starting with (-2) is a sequential summation of the
>> triangle
>> numbers -1
>> Starting with t(4)-1. the next is t(5)-1 and so on.
>> As proposed, there will never be a prime produced from the table above
>> because
>> it produces all the odd composite numbers as with most all even
>> composites.
>>
>> There are a few even exceptions like the even perfect numbers and 2*n and
>> also a few deficient by 2 even numbers, a total of (5) that are known.
>> Most importantly putting all the even composites aside, all the odd
>> composites
>> are accountable in the above table thus eliminating all the primes.
>>
>> The table above is all based on the sequential triangle numbers -1
>> starting
>> with t(4)-1.
>>
>> A python program works great in this sieve which cherry picks out the
>> primes
>> in the empty odd index spots in the sieve array.
>>
>> Who claims no patterns are connected to the primes?
>> Well here is a table that has a definite pattern that -->oo
>>
>> Dan
>>
>
> Hi,
>
> Cool table, did you make that one up? :)
>
> Seems to work great.
>
> Here is another one I came up with today:
>
>
> product of list of primes, ie 2*3*5*7 = 210
>
> coefficient+210n
>
> That formula has the fewest integer coefficients of
> any other values less than 210 to generate all the primes.
>
> Another example with even more dense primes in the
> formulas:
>
> product of primes ie: 2*3*5*7*11*13*17*19*23*29
> =6469693230
>
> integer coefficient+6469693230n
>
> That formula has the fewest integer coefficients of
> any other values less than 6469693230 to generate all the primes.
>
> See the pattern! :D
>
> Basically if you take the full set of all infinite prime
> numbers, and take the product of all of them combined,
> then make a formula with that like the above, you will
> still have the best ability to generate all the primes with
> the highest occurrence density.
>
>
> cheers,
> Jamie
>
>


Here's some output of ratios of how many of the formulas
for a given n are prime, ie for n=30 below, 0.36666.. or
11 out of the 30 (11/30=0.3666..) formulas produce primes.

The formula with the lowest ratio's produce the most primes,
so for n=210 below (product of primes 2*3*5*7), less than
a quarter (0.247619048) of the 210 possible formulas produce
primes, ie 52 formulas produce primes for n=210.

This ratio should decrease further for bigger products of primes,
ie as above:

product of primes ie: 2*3*5*7*11*13*17*19*23*29
=6469693230

cheers,
Jamie



n	ratio
1	1
2	1
3	1
4	0.75
5	1
6	0.666666667
7	1
8	0.625
9	0.777777778
10	0.6
11	1
12	0.5
13	1
14	0.571428571
15	0.666666667
16	0.5625
17	1
18	0.444444444
19	1
20	0.5
21	0.666666667
22	0.545454545
23	1
24	0.416666667
25	0.84
26	0.538461538
27	0.703703704
28	0.5
29	1
30	0.366666667
31	1
32	0.53125
33	0.666666667
34	0.529411765
35	0.742857143
36	0.388888889
37	1
38	0.526315789
39	0.666666667
40	0.45
41	1
42	0.357142857
43	1
44	0.5
45	0.577777778
46	0.52173913
47	1
48	0.375
49	0.87755102
50	0.44
51	0.666666667
52	0.5
53	1
54	0.37037037
55	0.763636364
56	0.464285714
57	0.666666667
58	0.517241379
59	1
60	0.316666667
61	1
62	0.516129032
63	0.603174603
64	0.515625
65	0.769230769
66	0.348484848
67	1
68	0.5
69	0.666666667
70	0.385714286
71	1
72	0.361111111
73	1
74	0.513513514
75	0.56
76	0.5
77	0.805194805
78	0.346153846
79	1
80	0.425
81	0.679012346
82	0.512195122
83	1
84	0.321428571
85	0.776470588
86	0.511627907
87	0.666666667
88	0.477272727
89	1
90	0.3
91	0.813186813
92	0.5
93	0.666666667
94	0.510638298
95	0.778947368
96	0.354166667
97	1
98	0.448979592
99	0.626262626
100	0.42
101	1
102	0.343137255
103	1
104	0.480769231
105	0.485714286
106	0.509433962
107	1
108	0.351851852
109	1
110	0.390909091
111	0.666666667
112	0.446428571
113	1
114	0.342105263
115	0.782608696
116	0.5
117	0.632478632
118	0.508474576
119	0.823529412
120	0.291666667
121	0.917355372
122	0.508196721
123	0.666666667
124	0.5
125	0.808
126	0.30952381
127	1
128	0.5078125
129	0.666666667
130	0.392307692
131	1
132	0.325757576
133	0.827067669
134	0.507462687
135	0.548148148
136	0.485294118
137	1
138	0.34057971
139	1
140	0.364285714
141	0.666666667
142	0.507042254
143	0.853146853
144	0.347222222
145	0.786206897
146	0.506849315
147	0.585034014
148	0.5
149	1
150	0.286666667
151	1
152	0.486842105
153	0.640522876
154	0.409090909
155	0.787096774
156	0.326923077
157	1
158	0.506329114
159	0.666666667
160	0.4125
161	0.832298137
162	0.345679012
163	1
164	0.5
165	0.503030303
166	0.506024096
167	1
168	0.303571429
169	0.928994083
170	0.394117647
171	0.643274854
172	0.5
173	1
174	0.33908046
175	0.697142857
176	0.465909091
177	0.666666667
178	0.505617978
179	1
180	0.283333333
181	1
182	0.412087912
183	0.666666667
184	0.489130435
185	0.789189189
186	0.338709677
187	0.86631016
188	0.5
189	0.582010582
190	0.394736842
191	1
192	0.34375
193	1
194	0.505154639
195	0.507692308
196	0.43877551
197	1
198	0.318181818
199	1
200	0.41
201	0.666666667
202	0.504950495
203	0.837438424
204	0.328431373
205	0.790243902
206	0.504854369
207	0.647342995
208	0.471153846
209	0.870813397
210	0.247619048
211	1
212	0.5
213	0.666666667
214	0.504672897
215	0.790697674
216	0.342592593
217	0.838709677
218	0.504587156
219	0.666666667
220	0.377272727
221	0.877828054
222	0.337837838
223	1

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


#328557

Fromdjoyce099 <hlauk.h.bogart@gmail.com>
Date2016-02-22 13:36 -0800
Message-ID<00ac6227-8067-4197-bb49-c51f39c57a7a@googlegroups.com>
In reply to#328379
On Saturday, February 20, 2016 at 11:11:44 PM UTC-5, djoyce099 wrote:
> The only pattern possible to find all the primes is
> sieving out all the odd composites.
> A definite pattern can be observed when starting this 
> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges 
> thus eliminating all primes in this -->oo table.
> 
> It begins with -- 
> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
> From this point on taking (abs-2)+ the first summation (4) =6(*-1) =-6 for the next row negation.
> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11  
> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
> -62 =42 (12+11+10+9+8+7+6+5+4+3+2) 42,54,65,75,84,92,99,105,110,114,117,119
> -74 =45 (13+...
> Each row summation starting with (-2) is a sequential summation of the triangle
> numbers -1
> Starting with t(4)-1. the next is t(5)-1 and so on. 
> As proposed, there will never be a prime produced from the table above because
> it produces all the odd composite numbers as with most all even composites.
> 
> There are a few even exceptions like the even perfect numbers and 2*n and
> also a few deficient by 2 even numbers, a total of (5) that are known.   
> Most importantly putting all the even composites aside, all the odd composites
> are accountable in the above table thus eliminating all the primes.   
> 
> The table above is all based on the sequential triangle numbers -1 starting
> with t(4)-1.
> 
> A python program works great in this sieve which cherry picks out the primes
> in the empty odd index spots in the sieve array.
> 
> Who claims no patterns are connected to the primes?  
> Well here is a table that has a definite pattern that -->oo
> 
> Dan

Okay, I did find the formula for producing the negative sequence(negative as
I use it in my table as the first term in each row of the table) above --
mainly 2,6,11,17,24,32,41,51,62,74... is in OEIS as A046691. 
In my case where n=1,2,3,4,5... then a(n)=(n^2+5*n-2)/2 
This is related to the Riordan triangle -- A248156  
It is curious that it works in a table that creates all the odd composites but
never an odd prime and the sequence is used in negation only for the first term in each row of the table.

Dan 

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


#328591

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 02:31 -0800
Message-ID<nahce3$5bp$1@gioia.aioe.org>
In reply to#328557
On 2/22/2016 1:36 PM, djoyce099 wrote:
> On Saturday, February 20, 2016 at 11:11:44 PM UTC-5, djoyce099 wrote:
>> The only pattern possible to find all the primes is
>> sieving out all the odd composites.
>> A definite pattern can be observed when starting this
>> sieve with (9) and starting with -2 and beyond an -->oo pattern immerges
>> thus eliminating all primes in this -->oo table.
>>
>> It begins with --
>> 9 (+3+2+1+3+2) @ each point of the summation we have 9,12,14,15,18,20
>> -2 =18 (+4+3+2)  @ each point of the summation we have 18,22,25,27
>>  From this point on taking (abs-2)+ the first summation (4) =6(*-1) =-6 for the next row negation.
>> -6 =21 (+5+4+3+2) @ each point of the summation we have 21,26,30,33,35
>> -11 =24 (+6+5+4+3+2) 24,30,35,39,42,45 Note: (abs-6)+5 =11
>> -17 =27 (+7+6+5+4+3+2) 27,34,40,45,49,52,54
>> -24 =30 (+8+7+6+5+4+3+2) 30,38,45,51,56,60,63,65
>> -32 =33 (+9+8+7+6+5+4+3+2) 33,42,50,57,63,68,72,75,77
>> -41 =36 (10+9+8+7+6+5+4+3+2) 36,46,55,63,70,76,81,85,88,90
>> -51 =39 (11+10+9+8+7+6+5+4+3+2) 39,50,60,69,77,84,90,95,99,102,104
>> -62 =42 (12+11+10+9+8+7+6+5+4+3+2) 42,54,65,75,84,92,99,105,110,114,117,119
>> -74 =45 (13+...
>> Each row summation starting with (-2) is a sequential summation of the triangle
>> numbers -1
>> Starting with t(4)-1. the next is t(5)-1 and so on.
>> As proposed, there will never be a prime produced from the table above because
>> it produces all the odd composite numbers as with most all even composites.
>>
>> There are a few even exceptions like the even perfect numbers and 2*n and
>> also a few deficient by 2 even numbers, a total of (5) that are known.
>> Most importantly putting all the even composites aside, all the odd composites
>> are accountable in the above table thus eliminating all the primes.
>>
>> The table above is all based on the sequential triangle numbers -1 starting
>> with t(4)-1.
>>
>> A python program works great in this sieve which cherry picks out the primes
>> in the empty odd index spots in the sieve array.
>>
>> Who claims no patterns are connected to the primes?
>> Well here is a table that has a definite pattern that -->oo
>>
>> Dan
>
> Okay, I did find the formula for producing the negative sequence(negative as
> I use it in my table as the first term in each row of the table) above --
> mainly 2,6,11,17,24,32,41,51,62,74... is in OEIS as A046691.
> In my case where n=1,2,3,4,5... then a(n)=(n^2+5*n-2)/2
> This is related to the Riordan triangle -- A248156
> It is curious that it works in a table that creates all the odd composites but
> never an odd prime and the sequence is used in negation only for the first term in each row of the table.
>
> Dan
>

Cool work.

cheers,
Jamie


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


#328412

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 04:34 -0800
Message-ID<9ce2ab00-10aa-455b-bf7f-d41ec814d769@googlegroups.com>
In reply to#328174
On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> Hi,
> 
> These two sets of formulas will produce no prime numbers from n=0 to 
> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> 
> The interesting ones are with odd numbers, as the even numbers
> are easy to see they don't produce primes, but the odd ones not
> producing primes is pretty interesting.
> 
> set1:
> 2+6n (produces a single prime 2)
> 3+6n (produces a single prime 3)
> 4+6n
> 6+6n
> 
> set2:
> 2+60n (produces a single prime 2)
> 4+60n
> 5+60n
> 6+60n
> 8+60n
> 9+60n
> 10+60n
> 12+60n
> 14+60n
> 15+60n
> 18+60n
> 20+60n
> 21+60n
> 22+60n
> 24+60n
> 25+60n
> 26+60n
> 27+60n
> 28+60n
> 30+60n
> 32+60n
> 33+60n
> 34+60n
> 35+60n
> 36+60n
> 38+60n
> 39+60n
> 40+60n
> 42+60n
> 44+60n
> 45+60n
> 46+60n
> 48+60n
> 50+60n
> 51+60n
> 52+60n
> 54+60n
> 55+60n
> 56+60n
> 57+60n
> 58+60n
> 
> cheers,
> Jamie

Jamie,

look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime. Especially when Y is even.

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


#328461

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 15:40 -0800
Message-ID<nadhsl$1nt8$1@gioia.aioe.org>
In reply to#328412
On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>> Hi,
>>
>> These two sets of formulas will produce no prime numbers from n=0 to
>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>
>> The interesting ones are with odd numbers, as the even numbers
>> are easy to see they don't produce primes, but the odd ones not
>> producing primes is pretty interesting.
>>
>> set1:
>> 2+6n (produces a single prime 2)
>> 3+6n (produces a single prime 3)
>> 4+6n
>> 6+6n
>>
>> set2:
>> 2+60n (produces a single prime 2)
>> 4+60n
>> 5+60n
>> 6+60n
>> 8+60n
>> 9+60n
>> 10+60n
>> 12+60n
>> 14+60n
>> 15+60n
>> 18+60n
>> 20+60n
>> 21+60n
>> 22+60n
>> 24+60n
>> 25+60n
>> 26+60n
>> 27+60n
>> 28+60n
>> 30+60n
>> 32+60n
>> 33+60n
>> 34+60n
>> 35+60n
>> 36+60n
>> 38+60n
>> 39+60n
>> 40+60n
>> 42+60n
>> 44+60n
>> 45+60n
>> 46+60n
>> 48+60n
>> 50+60n
>> 51+60n
>> 52+60n
>> 54+60n
>> 55+60n
>> 56+60n
>> 57+60n
>> 58+60n
>>
>> cheers,
>> Jamie
>
> Jamie,
>
> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.

Especially when Y is even.
>


Hi,

What about 7 + 2310n?

Primorial numbers ie 2310, have more distinct prime factors than any
number smaller than it.  Yet Y in this case, ie 7 has the common factor
(of itself) with 2310.

The best formula to find the most primes I found so far is:

most likelihood of being prime = a prime below the primorial + (primorial)n

cheers,
Jamie

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


#328464

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 15:54 -0800
Message-ID<618d79e9-5a0e-42ac-92c7-8d5f6a0939d6@googlegroups.com>
In reply to#328461
On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> > On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> >> Hi,
> >>
> >> These two sets of formulas will produce no prime numbers from n=0 to
> >> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >>
> >> The interesting ones are with odd numbers, as the even numbers
> >> are easy to see they don't produce primes, but the odd ones not
> >> producing primes is pretty interesting.
> >>
> >> set1:
> >> 2+6n (produces a single prime 2)
> >> 3+6n (produces a single prime 3)
> >> 4+6n
> >> 6+6n
> >>
> >> set2:
> >> 2+60n (produces a single prime 2)
> >> 4+60n
> >> 5+60n
> >> 6+60n
> >> 8+60n
> >> 9+60n
> >> 10+60n
> >> 12+60n
> >> 14+60n
> >> 15+60n
> >> 18+60n
> >> 20+60n
> >> 21+60n
> >> 22+60n
> >> 24+60n
> >> 25+60n
> >> 26+60n
> >> 27+60n
> >> 28+60n
> >> 30+60n
> >> 32+60n
> >> 33+60n
> >> 34+60n
> >> 35+60n
> >> 36+60n
> >> 38+60n
> >> 39+60n
> >> 40+60n
> >> 42+60n
> >> 44+60n
> >> 45+60n
> >> 46+60n
> >> 48+60n
> >> 50+60n
> >> 51+60n
> >> 52+60n
> >> 54+60n
> >> 55+60n
> >> 56+60n
> >> 57+60n
> >> 58+60n
> >>
> >> cheers,
> >> Jamie
> >
> > Jamie,
> >
> > look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> 
> Especially when Y is even.
> >
> 
> 
> Hi,
> 
> What about 7 + 2310n?
> 
> Primorial numbers ie 2310, have more distinct prime factors than any
> number smaller than it.  Yet Y in this case, ie 7 has the common factor
> (of itself) with 2310.
> 
> The best formula to find the most primes I found so far is:
> 
> most likelihood of being prime = a prime below the primorial + (primorial)n
> 
> cheers,
> Jamie

Therefore it will produce no primes except 7. Nevermind.

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


#328465

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 16:05 -0800
Message-ID<7103cbda-91cd-473e-83a0-5aee5fab968e@googlegroups.com>
In reply to#328464
On Sunday, February 21, 2016 at 6:55:15 PM UTC-5, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> > On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> > > On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> > >> Hi,
> > >>
> > >> These two sets of formulas will produce no prime numbers from n=0 to
> > >> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> > >>
> > >> The interesting ones are with odd numbers, as the even numbers
> > >> are easy to see they don't produce primes, but the odd ones not
> > >> producing primes is pretty interesting.
> > >>
> > >> set1:
> > >> 2+6n (produces a single prime 2)
> > >> 3+6n (produces a single prime 3)
> > >> 4+6n
> > >> 6+6n
> > >>
> > >> set2:
> > >> 2+60n (produces a single prime 2)
> > >> 4+60n
> > >> 5+60n
> > >> 6+60n
> > >> 8+60n
> > >> 9+60n
> > >> 10+60n
> > >> 12+60n
> > >> 14+60n
> > >> 15+60n
> > >> 18+60n
> > >> 20+60n
> > >> 21+60n
> > >> 22+60n
> > >> 24+60n
> > >> 25+60n
> > >> 26+60n
> > >> 27+60n
> > >> 28+60n
> > >> 30+60n
> > >> 32+60n
> > >> 33+60n
> > >> 34+60n
> > >> 35+60n
> > >> 36+60n
> > >> 38+60n
> > >> 39+60n
> > >> 40+60n
> > >> 42+60n
> > >> 44+60n
> > >> 45+60n
> > >> 46+60n
> > >> 48+60n
> > >> 50+60n
> > >> 51+60n
> > >> 52+60n
> > >> 54+60n
> > >> 55+60n
> > >> 56+60n
> > >> 57+60n
> > >> 58+60n
> > >>
> > >> cheers,
> > >> Jamie
> > >
> > > Jamie,
> > >
> > > look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> > 
> > Especially when Y is even.
> > >
> > 
> > 
> > Hi,
> > 
> > What about 7 + 2310n?
> > 
> > Primorial numbers ie 2310, have more distinct prime factors than any
> > number smaller than it.  Yet Y in this case, ie 7 has the common factor
> > (of itself) with 2310.
> > 
> > The best formula to find the most primes I found so far is:
> > 
> > most likelihood of being prime = a prime below the primorial + (primorial)n
> > 
> > cheers,
> > Jamie
> 
> Therefore it will produce no primes except 7. Nevermind.

7 + 2310n = 7*(1 + 330n) is not prime (by definition of a prime) except when n=0. Do you see this?

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


#328466

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 16:06 -0800
Message-ID<4d9bd109-7f40-49a5-b3ca-204798245395@googlegroups.com>
In reply to#328465
On Sunday, February 21, 2016 at 7:05:18 PM UTC-5, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 6:55:15 PM UTC-5, Simon Christopher Roberts wrote:
> > On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> > > On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> > > > On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> > > >> Hi,
> > > >>
> > > >> These two sets of formulas will produce no prime numbers from n=0 to
> > > >> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> > > >>
> > > >> The interesting ones are with odd numbers, as the even numbers
> > > >> are easy to see they don't produce primes, but the odd ones not
> > > >> producing primes is pretty interesting.
> > > >>
> > > >> set1:
> > > >> 2+6n (produces a single prime 2)
> > > >> 3+6n (produces a single prime 3)
> > > >> 4+6n
> > > >> 6+6n
> > > >>
> > > >> set2:
> > > >> 2+60n (produces a single prime 2)
> > > >> 4+60n
> > > >> 5+60n
> > > >> 6+60n
> > > >> 8+60n
> > > >> 9+60n
> > > >> 10+60n
> > > >> 12+60n
> > > >> 14+60n
> > > >> 15+60n
> > > >> 18+60n
> > > >> 20+60n
> > > >> 21+60n
> > > >> 22+60n
> > > >> 24+60n
> > > >> 25+60n
> > > >> 26+60n
> > > >> 27+60n
> > > >> 28+60n
> > > >> 30+60n
> > > >> 32+60n
> > > >> 33+60n
> > > >> 34+60n
> > > >> 35+60n
> > > >> 36+60n
> > > >> 38+60n
> > > >> 39+60n
> > > >> 40+60n
> > > >> 42+60n
> > > >> 44+60n
> > > >> 45+60n
> > > >> 46+60n
> > > >> 48+60n
> > > >> 50+60n
> > > >> 51+60n
> > > >> 52+60n
> > > >> 54+60n
> > > >> 55+60n
> > > >> 56+60n
> > > >> 57+60n
> > > >> 58+60n
> > > >>
> > > >> cheers,
> > > >> Jamie
> > > >
> > > > Jamie,
> > > >
> > > > look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> > > 
> > > Especially when Y is even.
> > > >
> > > 
> > > 
> > > Hi,
> > > 
> > > What about 7 + 2310n?
> > > 
> > > Primorial numbers ie 2310, have more distinct prime factors than any
> > > number smaller than it.  Yet Y in this case, ie 7 has the common factor
> > > (of itself) with 2310.
> > > 
> > > The best formula to find the most primes I found so far is:
> > > 
> > > most likelihood of being prime = a prime below the primorial + (primorial)n
> > > 
> > > cheers,
> > > Jamie
> > 
> > Therefore it will produce no primes except 7. Nevermind.
> 
> 7 + 2310n = 7*(1 + 330n) is not prime (by definition of a prime) except when n=0. Do you see this?

try primorials + 1!

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


#328468

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:14 -0800
Message-ID<nadjsd$230$1@gioia.aioe.org>
In reply to#328464
On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>> Hi,
>>>>
>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>
>>>> The interesting ones are with odd numbers, as the even numbers
>>>> are easy to see they don't produce primes, but the odd ones not
>>>> producing primes is pretty interesting.
>>>>
>>>> set1:
>>>> 2+6n (produces a single prime 2)
>>>> 3+6n (produces a single prime 3)
>>>> 4+6n
>>>> 6+6n
>>>>
>>>> set2:
>>>> 2+60n (produces a single prime 2)
>>>> 4+60n
>>>> 5+60n
>>>> 6+60n
>>>> 8+60n
>>>> 9+60n
>>>> 10+60n
>>>> 12+60n
>>>> 14+60n
>>>> 15+60n
>>>> 18+60n
>>>> 20+60n
>>>> 21+60n
>>>> 22+60n
>>>> 24+60n
>>>> 25+60n
>>>> 26+60n
>>>> 27+60n
>>>> 28+60n
>>>> 30+60n
>>>> 32+60n
>>>> 33+60n
>>>> 34+60n
>>>> 35+60n
>>>> 36+60n
>>>> 38+60n
>>>> 39+60n
>>>> 40+60n
>>>> 42+60n
>>>> 44+60n
>>>> 45+60n
>>>> 46+60n
>>>> 48+60n
>>>> 50+60n
>>>> 51+60n
>>>> 52+60n
>>>> 54+60n
>>>> 55+60n
>>>> 56+60n
>>>> 57+60n
>>>> 58+60n
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> Jamie,
>>>
>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>
>> Especially when Y is even.
>>>
>>
>>
>> Hi,
>>
>> What about 7 + 2310n?
>>
>> Primorial numbers ie 2310, have more distinct prime factors than any
>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
>> (of itself) with 2310.
>>
>> The best formula to find the most primes I found so far is:
>>
>> most likelihood of being prime = a prime below the primorial + (primorial)n
>>
>> cheers,
>> Jamie
>
> Therefore it will produce no primes except 7. Nevermind.
>

Hi,

Actually that is even better, I think I made an error in my code
to select these functions as prime producing based on the fact
that they produce a single prime.. but if that is true that
these formulas produce no more than a single prime, then the new
formula excluding the single prime is:

NOT_prime = a prime below the primorial + (primorial)n

Can that formula be used to check if a very large number
is prime?

ie. try to subtract integer multiples of primorial numbers
from a very large number, and if the result is prime then the very
large number isn't prime maybe.
ie 9247-2310*4=7

so 9247 isn't prime if that formula is true.

cheers,
Jamie







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


#328471

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 16:21 -0800
Message-ID<5cad5f57-e6dd-4538-9f83-8bb6700efd28@googlegroups.com>
In reply to#328468
On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> > On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> >> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> >>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> >>>> Hi,
> >>>>
> >>>> These two sets of formulas will produce no prime numbers from n=0 to
> >>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >>>>
> >>>> The interesting ones are with odd numbers, as the even numbers
> >>>> are easy to see they don't produce primes, but the odd ones not
> >>>> producing primes is pretty interesting.
> >>>>
> >>>> set1:
> >>>> 2+6n (produces a single prime 2)
> >>>> 3+6n (produces a single prime 3)
> >>>> 4+6n
> >>>> 6+6n
> >>>>
> >>>> set2:
> >>>> 2+60n (produces a single prime 2)
> >>>> 4+60n
> >>>> 5+60n
> >>>> 6+60n
> >>>> 8+60n
> >>>> 9+60n
> >>>> 10+60n
> >>>> 12+60n
> >>>> 14+60n
> >>>> 15+60n
> >>>> 18+60n
> >>>> 20+60n
> >>>> 21+60n
> >>>> 22+60n
> >>>> 24+60n
> >>>> 25+60n
> >>>> 26+60n
> >>>> 27+60n
> >>>> 28+60n
> >>>> 30+60n
> >>>> 32+60n
> >>>> 33+60n
> >>>> 34+60n
> >>>> 35+60n
> >>>> 36+60n
> >>>> 38+60n
> >>>> 39+60n
> >>>> 40+60n
> >>>> 42+60n
> >>>> 44+60n
> >>>> 45+60n
> >>>> 46+60n
> >>>> 48+60n
> >>>> 50+60n
> >>>> 51+60n
> >>>> 52+60n
> >>>> 54+60n
> >>>> 55+60n
> >>>> 56+60n
> >>>> 57+60n
> >>>> 58+60n
> >>>>
> >>>> cheers,
> >>>> Jamie
> >>>
> >>> Jamie,
> >>>
> >>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> >>
> >> Especially when Y is even.
> >>>
> >>
> >>
> >> Hi,
> >>
> >> What about 7 + 2310n?
> >>
> >> Primorial numbers ie 2310, have more distinct prime factors than any
> >> number smaller than it.  Yet Y in this case, ie 7 has the common factor
> >> (of itself) with 2310.
> >>
> >> The best formula to find the most primes I found so far is:
> >>
> >> most likelihood of being prime = a prime below the primorial + (primorial)n
> >>
> >> cheers,
> >> Jamie
> >
> > Therefore it will produce no primes except 7. Nevermind.
> >
> 
> Hi,
> 
> Actually that is even better, I think I made an error in my code
> to select these functions as prime producing based on the fact
> that they produce a single prime.. but if that is true that
> these formulas produce no more than a single prime, then the new
> formula excluding the single prime is:
> 
> NOT_prime = a prime below the primorial + (primorial)n
> 
> Can that formula be used to check if a very large number
> is prime?
> 
> ie. try to subtract integer multiples of primorial numbers
> from a very large number, and if the result is prime then the very
> large number isn't prime maybe.
> ie 9247-2310*4=7
> 
> so 9247 isn't prime if that formula is true.
> 
> cheers,
> Jamie

I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and less than this number divides the original number evenly, if not you have a prime. This may be considered brute force. however.

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


#328473

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:30 -0800
Message-ID<nadkrf$6to$1@gioia.aioe.org>
In reply to#328471
On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
>> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
>>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
>>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
>>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>>>> Hi,
>>>>>>
>>>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>>>
>>>>>> The interesting ones are with odd numbers, as the even numbers
>>>>>> are easy to see they don't produce primes, but the odd ones not
>>>>>> producing primes is pretty interesting.
>>>>>>
>>>>>> set1:
>>>>>> 2+6n (produces a single prime 2)
>>>>>> 3+6n (produces a single prime 3)
>>>>>> 4+6n
>>>>>> 6+6n
>>>>>>
>>>>>> set2:
>>>>>> 2+60n (produces a single prime 2)
>>>>>> 4+60n
>>>>>> 5+60n
>>>>>> 6+60n
>>>>>> 8+60n
>>>>>> 9+60n
>>>>>> 10+60n
>>>>>> 12+60n
>>>>>> 14+60n
>>>>>> 15+60n
>>>>>> 18+60n
>>>>>> 20+60n
>>>>>> 21+60n
>>>>>> 22+60n
>>>>>> 24+60n
>>>>>> 25+60n
>>>>>> 26+60n
>>>>>> 27+60n
>>>>>> 28+60n
>>>>>> 30+60n
>>>>>> 32+60n
>>>>>> 33+60n
>>>>>> 34+60n
>>>>>> 35+60n
>>>>>> 36+60n
>>>>>> 38+60n
>>>>>> 39+60n
>>>>>> 40+60n
>>>>>> 42+60n
>>>>>> 44+60n
>>>>>> 45+60n
>>>>>> 46+60n
>>>>>> 48+60n
>>>>>> 50+60n
>>>>>> 51+60n
>>>>>> 52+60n
>>>>>> 54+60n
>>>>>> 55+60n
>>>>>> 56+60n
>>>>>> 57+60n
>>>>>> 58+60n
>>>>>>
>>>>>> cheers,
>>>>>> Jamie
>>>>>
>>>>> Jamie,
>>>>>
>>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>>>
>>>> Especially when Y is even.
>>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> What about 7 + 2310n?
>>>>
>>>> Primorial numbers ie 2310, have more distinct prime factors than any
>>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
>>>> (of itself) with 2310.
>>>>
>>>> The best formula to find the most primes I found so far is:
>>>>
>>>> most likelihood of being prime = a prime below the primorial + (primorial)n
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> Therefore it will produce no primes except 7. Nevermind.
>>>
>>
>> Hi,
>>
>> Actually that is even better, I think I made an error in my code
>> to select these functions as prime producing based on the fact
>> that they produce a single prime.. but if that is true that
>> these formulas produce no more than a single prime, then the new
>> formula excluding the single prime is:
>>
>> NOT_prime = a prime below the primorial + (primorial)n
>>
>> Can that formula be used to check if a very large number
>> is prime?
>>
>> ie. try to subtract integer multiples of primorial numbers
>> from a very large number, and if the result is prime then the very
>> large number isn't prime maybe.
>> ie 9247-2310*4=7
>>
>> so 9247 isn't prime if that formula is true.
>>
>> cheers,
>> Jamie
>
> I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
less than this number divides the original number evenly, if not you 
have a prime. This may be considered brute force. however.
>

Hi,

Actually that above formula I wrote is wrong, ie for

Y + 2310n, all prime producing functions (that produce more than a
single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.

So my formula before is correct, Y tends to be always prime the bigger
then primorial number is, but for Y less than the primorial largest
prime factor (ie 11 for 2310) then there is only one prime produced,
but larger primes than the largest primorial factor produce many primes.

ie for 13 + 2310n, there are 164 primes produced for n up to 432

164/432=38% primes

cheers,
Jamie

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


#328478

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 16:41 -0800
Message-ID<96b003de-8f4b-46a0-a089-b2a3051653e1@googlegroups.com>
In reply to#328473
On Sunday, February 21, 2016 at 7:30:47 PM UTC-5, Jamie M wrote:
> On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
> > On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
> >> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> >>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> >>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> >>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> These two sets of formulas will produce no prime numbers from n=0 to
> >>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >>>>>>
> >>>>>> The interesting ones are with odd numbers, as the even numbers
> >>>>>> are easy to see they don't produce primes, but the odd ones not
> >>>>>> producing primes is pretty interesting.
> >>>>>>
> >>>>>> set1:
> >>>>>> 2+6n (produces a single prime 2)
> >>>>>> 3+6n (produces a single prime 3)
> >>>>>> 4+6n
> >>>>>> 6+6n
> >>>>>>
> >>>>>> set2:
> >>>>>> 2+60n (produces a single prime 2)
> >>>>>> 4+60n
> >>>>>> 5+60n
> >>>>>> 6+60n
> >>>>>> 8+60n
> >>>>>> 9+60n
> >>>>>> 10+60n
> >>>>>> 12+60n
> >>>>>> 14+60n
> >>>>>> 15+60n
> >>>>>> 18+60n
> >>>>>> 20+60n
> >>>>>> 21+60n
> >>>>>> 22+60n
> >>>>>> 24+60n
> >>>>>> 25+60n
> >>>>>> 26+60n
> >>>>>> 27+60n
> >>>>>> 28+60n
> >>>>>> 30+60n
> >>>>>> 32+60n
> >>>>>> 33+60n
> >>>>>> 34+60n
> >>>>>> 35+60n
> >>>>>> 36+60n
> >>>>>> 38+60n
> >>>>>> 39+60n
> >>>>>> 40+60n
> >>>>>> 42+60n
> >>>>>> 44+60n
> >>>>>> 45+60n
> >>>>>> 46+60n
> >>>>>> 48+60n
> >>>>>> 50+60n
> >>>>>> 51+60n
> >>>>>> 52+60n
> >>>>>> 54+60n
> >>>>>> 55+60n
> >>>>>> 56+60n
> >>>>>> 57+60n
> >>>>>> 58+60n
> >>>>>>
> >>>>>> cheers,
> >>>>>> Jamie
> >>>>>
> >>>>> Jamie,
> >>>>>
> >>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> >>>>
> >>>> Especially when Y is even.
> >>>>>
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> What about 7 + 2310n?
> >>>>
> >>>> Primorial numbers ie 2310, have more distinct prime factors than any
> >>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
> >>>> (of itself) with 2310.
> >>>>
> >>>> The best formula to find the most primes I found so far is:
> >>>>
> >>>> most likelihood of being prime = a prime below the primorial + (primorial)n
> >>>>
> >>>> cheers,
> >>>> Jamie
> >>>
> >>> Therefore it will produce no primes except 7. Nevermind.
> >>>
> >>
> >> Hi,
> >>
> >> Actually that is even better, I think I made an error in my code
> >> to select these functions as prime producing based on the fact
> >> that they produce a single prime.. but if that is true that
> >> these formulas produce no more than a single prime, then the new
> >> formula excluding the single prime is:
> >>
> >> NOT_prime = a prime below the primorial + (primorial)n
> >>
> >> Can that formula be used to check if a very large number
> >> is prime?
> >>
> >> ie. try to subtract integer multiples of primorial numbers
> >> from a very large number, and if the result is prime then the very
> >> large number isn't prime maybe.
> >> ie 9247-2310*4=7
> >>
> >> so 9247 isn't prime if that formula is true.
> >>
> >> cheers,
> >> Jamie
> >
> > I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
> less than this number divides the original number evenly, if not you 
> have a prime. This may be considered brute force. however.
> >
> 
> Hi,
> 
> Actually that above formula I wrote is wrong, ie for
> 
> Y + 2310n, all prime producing functions (that produce more than a
> single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.
> 
> So my formula before is correct, Y tends to be always prime the bigger
> then primorial number is, but for Y less than the primorial largest
> prime factor (ie 11 for 2310) then there is only one prime produced,
> but larger primes than the largest primorial factor produce many primes.
> 
> ie for 13 + 2310n, there are 164 primes produced for n up to 432
> 
> 164/432=38% primes
> 
> cheers,
> Jamie

Neat. Keep going.

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


#328480

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 16:44 -0800
Message-ID<cda5c995-9e46-453d-b1d6-649ad06a788a@googlegroups.com>
In reply to#328473
On Sunday, February 21, 2016 at 7:30:47 PM UTC-5, Jamie M wrote:
> On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
> > On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
> >> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> >>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> >>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> >>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> These two sets of formulas will produce no prime numbers from n=0 to
> >>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >>>>>>
> >>>>>> The interesting ones are with odd numbers, as the even numbers
> >>>>>> are easy to see they don't produce primes, but the odd ones not
> >>>>>> producing primes is pretty interesting.
> >>>>>>
> >>>>>> set1:
> >>>>>> 2+6n (produces a single prime 2)
> >>>>>> 3+6n (produces a single prime 3)
> >>>>>> 4+6n
> >>>>>> 6+6n
> >>>>>>
> >>>>>> set2:
> >>>>>> 2+60n (produces a single prime 2)
> >>>>>> 4+60n
> >>>>>> 5+60n
> >>>>>> 6+60n
> >>>>>> 8+60n
> >>>>>> 9+60n
> >>>>>> 10+60n
> >>>>>> 12+60n
> >>>>>> 14+60n
> >>>>>> 15+60n
> >>>>>> 18+60n
> >>>>>> 20+60n
> >>>>>> 21+60n
> >>>>>> 22+60n
> >>>>>> 24+60n
> >>>>>> 25+60n
> >>>>>> 26+60n
> >>>>>> 27+60n
> >>>>>> 28+60n
> >>>>>> 30+60n
> >>>>>> 32+60n
> >>>>>> 33+60n
> >>>>>> 34+60n
> >>>>>> 35+60n
> >>>>>> 36+60n
> >>>>>> 38+60n
> >>>>>> 39+60n
> >>>>>> 40+60n
> >>>>>> 42+60n
> >>>>>> 44+60n
> >>>>>> 45+60n
> >>>>>> 46+60n
> >>>>>> 48+60n
> >>>>>> 50+60n
> >>>>>> 51+60n
> >>>>>> 52+60n
> >>>>>> 54+60n
> >>>>>> 55+60n
> >>>>>> 56+60n
> >>>>>> 57+60n
> >>>>>> 58+60n
> >>>>>>
> >>>>>> cheers,
> >>>>>> Jamie
> >>>>>
> >>>>> Jamie,
> >>>>>
> >>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> >>>>
> >>>> Especially when Y is even.
> >>>>>
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> What about 7 + 2310n?
> >>>>
> >>>> Primorial numbers ie 2310, have more distinct prime factors than any
> >>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
> >>>> (of itself) with 2310.
> >>>>
> >>>> The best formula to find the most primes I found so far is:
> >>>>
> >>>> most likelihood of being prime = a prime below the primorial + (primorial)n
> >>>>
> >>>> cheers,
> >>>> Jamie
> >>>
> >>> Therefore it will produce no primes except 7. Nevermind.
> >>>
> >>
> >> Hi,
> >>
> >> Actually that is even better, I think I made an error in my code
> >> to select these functions as prime producing based on the fact
> >> that they produce a single prime.. but if that is true that
> >> these formulas produce no more than a single prime, then the new
> >> formula excluding the single prime is:
> >>
> >> NOT_prime = a prime below the primorial + (primorial)n
> >>
> >> Can that formula be used to check if a very large number
> >> is prime?
> >>
> >> ie. try to subtract integer multiples of primorial numbers
> >> from a very large number, and if the result is prime then the very
> >> large number isn't prime maybe.
> >> ie 9247-2310*4=7
> >>
> >> so 9247 isn't prime if that formula is true.
> >>
> >> cheers,
> >> Jamie
> >
> > I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
> less than this number divides the original number evenly, if not you 
> have a prime. This may be considered brute force. however.
> >
> 
> Hi,
> 
> Actually that above formula I wrote is wrong, ie for
> 
> Y + 2310n, all prime producing functions (that produce more than a
> single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.
> 
> So my formula before is correct, Y tends to be always prime the bigger
> then primorial number is, but for Y less than the primorial largest
> prime factor (ie 11 for 2310) then there is only one prime produced,
> but larger primes than the largest primorial factor produce many primes.
> 
> ie for 13 + 2310n, there are 164 primes produced for n up to 432
> 
> 164/432=38% primes
> 
> cheers,
> Jamie

How about 1 + 2310n? Can you try that...i can't.

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


#328483

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 16:56 -0800
Message-ID<nadmbd$e7a$1@gioia.aioe.org>
In reply to#328480
On 2/21/2016 4:44 PM, Simon Christopher Roberts wrote:
> On Sunday, February 21, 2016 at 7:30:47 PM UTC-5, Jamie M wrote:
>> On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
>>> On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
>>>> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
>>>>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
>>>>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
>>>>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> These two sets of formulas will produce no prime numbers from n=0 to
>>>>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
>>>>>>>>
>>>>>>>> The interesting ones are with odd numbers, as the even numbers
>>>>>>>> are easy to see they don't produce primes, but the odd ones not
>>>>>>>> producing primes is pretty interesting.
>>>>>>>>
>>>>>>>> set1:
>>>>>>>> 2+6n (produces a single prime 2)
>>>>>>>> 3+6n (produces a single prime 3)
>>>>>>>> 4+6n
>>>>>>>> 6+6n
>>>>>>>>
>>>>>>>> set2:
>>>>>>>> 2+60n (produces a single prime 2)
>>>>>>>> 4+60n
>>>>>>>> 5+60n
>>>>>>>> 6+60n
>>>>>>>> 8+60n
>>>>>>>> 9+60n
>>>>>>>> 10+60n
>>>>>>>> 12+60n
>>>>>>>> 14+60n
>>>>>>>> 15+60n
>>>>>>>> 18+60n
>>>>>>>> 20+60n
>>>>>>>> 21+60n
>>>>>>>> 22+60n
>>>>>>>> 24+60n
>>>>>>>> 25+60n
>>>>>>>> 26+60n
>>>>>>>> 27+60n
>>>>>>>> 28+60n
>>>>>>>> 30+60n
>>>>>>>> 32+60n
>>>>>>>> 33+60n
>>>>>>>> 34+60n
>>>>>>>> 35+60n
>>>>>>>> 36+60n
>>>>>>>> 38+60n
>>>>>>>> 39+60n
>>>>>>>> 40+60n
>>>>>>>> 42+60n
>>>>>>>> 44+60n
>>>>>>>> 45+60n
>>>>>>>> 46+60n
>>>>>>>> 48+60n
>>>>>>>> 50+60n
>>>>>>>> 51+60n
>>>>>>>> 52+60n
>>>>>>>> 54+60n
>>>>>>>> 55+60n
>>>>>>>> 56+60n
>>>>>>>> 57+60n
>>>>>>>> 58+60n
>>>>>>>>
>>>>>>>> cheers,
>>>>>>>> Jamie
>>>>>>>
>>>>>>> Jamie,
>>>>>>>
>>>>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
>>>>>>
>>>>>> Especially when Y is even.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> What about 7 + 2310n?
>>>>>>
>>>>>> Primorial numbers ie 2310, have more distinct prime factors than any
>>>>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
>>>>>> (of itself) with 2310.
>>>>>>
>>>>>> The best formula to find the most primes I found so far is:
>>>>>>
>>>>>> most likelihood of being prime = a prime below the primorial + (primorial)n
>>>>>>
>>>>>> cheers,
>>>>>> Jamie
>>>>>
>>>>> Therefore it will produce no primes except 7. Nevermind.
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> Actually that is even better, I think I made an error in my code
>>>> to select these functions as prime producing based on the fact
>>>> that they produce a single prime.. but if that is true that
>>>> these formulas produce no more than a single prime, then the new
>>>> formula excluding the single prime is:
>>>>
>>>> NOT_prime = a prime below the primorial + (primorial)n
>>>>
>>>> Can that formula be used to check if a very large number
>>>> is prime?
>>>>
>>>> ie. try to subtract integer multiples of primorial numbers
>>>> from a very large number, and if the result is prime then the very
>>>> large number isn't prime maybe.
>>>> ie 9247-2310*4=7
>>>>
>>>> so 9247 isn't prime if that formula is true.
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
>> less than this number divides the original number evenly, if not you
>> have a prime. This may be considered brute force. however.
>>>
>>
>> Hi,
>>
>> Actually that above formula I wrote is wrong, ie for
>>
>> Y + 2310n, all prime producing functions (that produce more than a
>> single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.
>>
>> So my formula before is correct, Y tends to be always prime the bigger
>> then primorial number is, but for Y less than the primorial largest
>> prime factor (ie 11 for 2310) then there is only one prime produced,
>> but larger primes than the largest primorial factor produce many primes.
>>
>> ie for 13 + 2310n, there are 164 primes produced for n up to 432
>>
>> 164/432=38% primes
>>
>> cheers,
>> Jamie
>
> How about 1 + 2310n? Can you try that...i can't.
>


Hi,

1 + 2310n has 1358 primes for n up to 4329

1358/4329 = 31.3% primes

Here's a list in general for the formulas that
return primes for Y + 2310n for Y up to 104.

The occurence of primes is pretty even, and as
the primorial number size increases, ie instead of
2310 if 9699690 or larger is used etc, then the
Y values match the primes more closely, but
even for 2310 it is pretty close.

Y, number of primes produced for n up to 4329

{[0, 0]}
{[1, 1358]}
{[2, 1]}
{[3, 1]}
{[4, 0]}
{[5, 1]}
{[6, 0]}
{[7, 1]}
{[8, 0]}
{[9, 0]}
{[10, 0]}
{[11, 1]}
{[12, 0]}
{[13, 1370]}
{[14, 0]}
{[15, 0]}
{[16, 0]}
{[17, 1388]}
{[18, 0]}
{[19, 1377]}
{[20, 0]}
{[21, 0]}
{[22, 0]}
{[23, 1382]}
{[24, 0]}
{[25, 0]}
{[26, 0]}
{[27, 0]}
{[28, 0]}
{[29, 1372]}
{[30, 0]}
{[31, 1371]}
{[32, 0]}
{[33, 0]}
{[34, 0]}
{[35, 0]}
{[36, 0]}
{[37, 1365]}
{[38, 0]}
{[39, 0]}
{[40, 0]}
{[41, 1395]}
{[42, 0]}
{[43, 1417]}
{[44, 0]}
{[45, 0]}
{[46, 0]}
{[47, 1380]}
{[48, 0]}
{[49, 0]}
{[50, 0]}
{[51, 0]}
{[52, 0]}
{[53, 1383]}
{[54, 0]}
{[55, 0]}
{[56, 0]}
{[57, 0]}
{[58, 0]}
{[59, 1403]}
{[60, 0]}
{[61, 1370]}
{[62, 0]}
{[63, 0]}
{[64, 0]}
{[65, 0]}
{[66, 0]}
{[67, 1384]}
{[68, 0]}
{[69, 0]}
{[70, 0]}
{[71, 1354]}
{[72, 0]}
{[73, 1422]}
{[74, 0]}
{[75, 0]}
{[76, 0]}
{[77, 0]}
{[78, 0]}
{[79, 1388]}
{[80, 0]}
{[81, 0]}
{[82, 0]}
{[83, 1387]}
{[84, 0]}
{[85, 0]}
{[86, 0]}
{[87, 0]}
{[88, 0]}
{[89, 1404]}
{[90, 0]}
{[91, 0]}
{[92, 0]}
{[93, 0]}
{[94, 0]}
{[95, 0]}
{[96, 0]}
{[97, 1405]}
{[98, 0]}
{[99, 0]}
{[100, 0]}
{[101, 1391]}
{[102, 0]}
{[103, 1413]}
{[104, 0]}


Here is the full list of Y that produce primes in Y = 2310n

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

cheers,
Jamie




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


#328485

FromSimon Christopher Roberts <retenshun@gmail.com>
Date2016-02-21 17:05 -0800
Message-ID<3769ab10-4cb1-4498-9bba-89bb4a365225@googlegroups.com>
In reply to#328483
On Sunday, February 21, 2016 at 7:56:22 PM UTC-5, Jamie M wrote:
> On 2/21/2016 4:44 PM, Simon Christopher Roberts wrote:
> > On Sunday, February 21, 2016 at 7:30:47 PM UTC-5, Jamie M wrote:
> >> On 2/21/2016 4:21 PM, Simon Christopher Roberts wrote:
> >>> On Sunday, February 21, 2016 at 7:14:19 PM UTC-5, Jamie M wrote:
> >>>> On 2/21/2016 3:54 PM, Simon Christopher Roberts wrote:
> >>>>> On Sunday, February 21, 2016 at 6:40:16 PM UTC-5, Jamie M wrote:
> >>>>>> On 2/21/2016 4:34 AM, Simon Christopher Roberts wrote:
> >>>>>>> On Thursday, February 18, 2016 at 5:09:31 AM UTC-5, Jamie M wrote:
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> These two sets of formulas will produce no prime numbers from n=0 to
> >>>>>>>> n=infinity, except for primes 2 and 3 in set1, and prime 2 in set2.
> >>>>>>>>
> >>>>>>>> The interesting ones are with odd numbers, as the even numbers
> >>>>>>>> are easy to see they don't produce primes, but the odd ones not
> >>>>>>>> producing primes is pretty interesting.
> >>>>>>>>
> >>>>>>>> set1:
> >>>>>>>> 2+6n (produces a single prime 2)
> >>>>>>>> 3+6n (produces a single prime 3)
> >>>>>>>> 4+6n
> >>>>>>>> 6+6n
> >>>>>>>>
> >>>>>>>> set2:
> >>>>>>>> 2+60n (produces a single prime 2)
> >>>>>>>> 4+60n
> >>>>>>>> 5+60n
> >>>>>>>> 6+60n
> >>>>>>>> 8+60n
> >>>>>>>> 9+60n
> >>>>>>>> 10+60n
> >>>>>>>> 12+60n
> >>>>>>>> 14+60n
> >>>>>>>> 15+60n
> >>>>>>>> 18+60n
> >>>>>>>> 20+60n
> >>>>>>>> 21+60n
> >>>>>>>> 22+60n
> >>>>>>>> 24+60n
> >>>>>>>> 25+60n
> >>>>>>>> 26+60n
> >>>>>>>> 27+60n
> >>>>>>>> 28+60n
> >>>>>>>> 30+60n
> >>>>>>>> 32+60n
> >>>>>>>> 33+60n
> >>>>>>>> 34+60n
> >>>>>>>> 35+60n
> >>>>>>>> 36+60n
> >>>>>>>> 38+60n
> >>>>>>>> 39+60n
> >>>>>>>> 40+60n
> >>>>>>>> 42+60n
> >>>>>>>> 44+60n
> >>>>>>>> 45+60n
> >>>>>>>> 46+60n
> >>>>>>>> 48+60n
> >>>>>>>> 50+60n
> >>>>>>>> 51+60n
> >>>>>>>> 52+60n
> >>>>>>>> 54+60n
> >>>>>>>> 55+60n
> >>>>>>>> 56+60n
> >>>>>>>> 57+60n
> >>>>>>>> 58+60n
> >>>>>>>>
> >>>>>>>> cheers,
> >>>>>>>> Jamie
> >>>>>>>
> >>>>>>> Jamie,
> >>>>>>>
> >>>>>>> look for the common factor(s) of Y and 60n of Y + 60n. That is the common factor of Y and 60n. You will see that Y + 60n can't be prime.
> >>>>>>
> >>>>>> Especially when Y is even.
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> What about 7 + 2310n?
> >>>>>>
> >>>>>> Primorial numbers ie 2310, have more distinct prime factors than any
> >>>>>> number smaller than it.  Yet Y in this case, ie 7 has the common factor
> >>>>>> (of itself) with 2310.
> >>>>>>
> >>>>>> The best formula to find the most primes I found so far is:
> >>>>>>
> >>>>>> most likelihood of being prime = a prime below the primorial + (primorial)n
> >>>>>>
> >>>>>> cheers,
> >>>>>> Jamie
> >>>>>
> >>>>> Therefore it will produce no primes except 7. Nevermind.
> >>>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> Actually that is even better, I think I made an error in my code
> >>>> to select these functions as prime producing based on the fact
> >>>> that they produce a single prime.. but if that is true that
> >>>> these formulas produce no more than a single prime, then the new
> >>>> formula excluding the single prime is:
> >>>>
> >>>> NOT_prime = a prime below the primorial + (primorial)n
> >>>>
> >>>> Can that formula be used to check if a very large number
> >>>> is prime?
> >>>>
> >>>> ie. try to subtract integer multiples of primorial numbers
> >>>> from a very large number, and if the result is prime then the very
> >>>> large number isn't prime maybe.
> >>>> ie 9247-2310*4=7
> >>>>
> >>>> so 9247 isn't prime if that formula is true.
> >>>>
> >>>> cheers,
> >>>> Jamie
> >>>
> >>> I haven't a clue. I would take the square root of that number, truncate it, and see if every integer equal and
> >> less than this number divides the original number evenly, if not you
> >> have a prime. This may be considered brute force. however.
> >>>
> >>
> >> Hi,
> >>
> >> Actually that above formula I wrote is wrong, ie for
> >>
> >> Y + 2310n, all prime producing functions (that produce more than a
> >> single prime) have Y as a prime larger than 11, since 2310 = 2*3*5*7*11.
> >>
> >> So my formula before is correct, Y tends to be always prime the bigger
> >> then primorial number is, but for Y less than the primorial largest
> >> prime factor (ie 11 for 2310) then there is only one prime produced,
> >> but larger primes than the largest primorial factor produce many primes.
> >>
> >> ie for 13 + 2310n, there are 164 primes produced for n up to 432
> >>
> >> 164/432=38% primes
> >>
> >> cheers,
> >> Jamie
> >
> > How about 1 + 2310n? Can you try that...i can't.
> >
> 
> 
> Hi,
> 
> 1 + 2310n has 1358 primes for n up to 4329
> 
> 1358/4329 = 31.3% primes
> 
> Here's a list in general for the formulas that
> return primes for Y + 2310n for Y up to 104.
> 
> The occurence of primes is pretty even, and as
> the primorial number size increases, ie instead of
> 2310 if 9699690 or larger is used etc, then the
> Y values match the primes more closely, but
> even for 2310 it is pretty close.
> 
> Y, number of primes produced for n up to 4329
> 
> {[0, 0]}
> {[1, 1358]}
> {[2, 1]}
> {[3, 1]}
> {[4, 0]}
> {[5, 1]}
> {[6, 0]}
> {[7, 1]}
> {[8, 0]}
> {[9, 0]}
> {[10, 0]}
> {[11, 1]}
> {[12, 0]}
> {[13, 1370]}
> {[14, 0]}
> {[15, 0]}
> {[16, 0]}
> {[17, 1388]}
> {[18, 0]}
> {[19, 1377]}
> {[20, 0]}
> {[21, 0]}
> {[22, 0]}
> {[23, 1382]}
> {[24, 0]}
> {[25, 0]}
> {[26, 0]}
> {[27, 0]}
> {[28, 0]}
> {[29, 1372]}
> {[30, 0]}
> {[31, 1371]}
> {[32, 0]}
> {[33, 0]}
> {[34, 0]}
> {[35, 0]}
> {[36, 0]}
> {[37, 1365]}
> {[38, 0]}
> {[39, 0]}
> {[40, 0]}
> {[41, 1395]}
> {[42, 0]}
> {[43, 1417]}
> {[44, 0]}
> {[45, 0]}
> {[46, 0]}
> {[47, 1380]}
> {[48, 0]}
> {[49, 0]}
> {[50, 0]}
> {[51, 0]}
> {[52, 0]}
> {[53, 1383]}
> {[54, 0]}
> {[55, 0]}
> {[56, 0]}
> {[57, 0]}
> {[58, 0]}
> {[59, 1403]}
> {[60, 0]}
> {[61, 1370]}
> {[62, 0]}
> {[63, 0]}
> {[64, 0]}
> {[65, 0]}
> {[66, 0]}
> {[67, 1384]}
> {[68, 0]}
> {[69, 0]}
> {[70, 0]}
> {[71, 1354]}
> {[72, 0]}
> {[73, 1422]}
> {[74, 0]}
> {[75, 0]}
> {[76, 0]}
> {[77, 0]}
> {[78, 0]}
> {[79, 1388]}
> {[80, 0]}
> {[81, 0]}
> {[82, 0]}
> {[83, 1387]}
> {[84, 0]}
> {[85, 0]}
> {[86, 0]}
> {[87, 0]}
> {[88, 0]}
> {[89, 1404]}
> {[90, 0]}
> {[91, 0]}
> {[92, 0]}
> {[93, 0]}
> {[94, 0]}
> {[95, 0]}
> {[96, 0]}
> {[97, 1405]}
> {[98, 0]}
> {[99, 0]}
> {[100, 0]}
> {[101, 1391]}
> {[102, 0]}
> {[103, 1413]}
> {[104, 0]}
> 
> 
> Here is the full list of Y that produce primes in Y = 2310n
> 
> 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
> 
> cheers,
> Jamie

All right. I have to go for now. Thanks,

Simon

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


#328489

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 17:54 -0800
Message-ID<nadpon$u2n$1@gioia.aioe.org>
In reply to#328483
On 2/21/2016 4:56 PM, Jamie M wrote:

>>
>> How about 1 + 2310n? Can you try that...i can't.
>>
>
>
> Hi,
>
> 1 + 2310n has 1358 primes for n up to 4329
>
> 1358/4329 = 31.3% primes
>
> Here's a list in general for the formulas that
> return primes for Y + 2310n for Y up to 104.
>
> The occurence of primes is pretty even, and as
> the primorial number size increases, ie instead of
> 2310 if 9699690 or larger is used etc, then the
> Y values match the primes more closely, but
> even for 2310 it is pretty close.
>
> Y, number of primes produced for n up to 4329
>

[snip]

>
>


According to wikipedia:

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

"the average gap between consecutive prime numbers among the first N 
integers is roughly log(N)"

So even though the distribution of primes goes down proportional to
the natural log of N, if the above formula with a primorial number is
used, then the coefficients Y distribution goes down at roughly
the log(N) too, since they approach being the prime numbers (I think)
with large primorial numbers.

So this means for big numbers, even though the primes are spaced
farther apart (from the prime number theorem), if the primorial
equations are used, there are also proportionately fewer
Y that contain all the prime numbers as a percentage of all the
possible Y coefficients up to the primorial number - 1.

ie for primorial 9699690

Y + 9699690n

Y's max value for producing primes is at most 1 less than 9699690,
and the values of Y are almost all primes themselves, so if a larger
primorial number is used, ie 200560490130, the number of Y producing
equations will grow the same as the prime number theorem essentially,
however all Y will grow much larger.

So there is always a lower percentage of equations that have to be
searched for primes as the primorial number increases in size, that
is proportionate to the increased spacing of the prime numbers.

The growth rate of prime producing Y's is log(N) of the growth rate
of the primordial number size I think.

cheers,
Jamie


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


#328490

FromJamie M <jmorken@shaw.ca>
Date2016-02-21 18:00 -0800
Message-ID<nadq4q$1004$1@gioia.aioe.org>
In reply to#328489
On 2/21/2016 5:54 PM, Jamie M wrote:
> On 2/21/2016 4:56 PM, Jamie M wrote:
>
>>>
>>> How about 1 + 2310n? Can you try that...i can't.
>>>
>>
>>
>> Hi,
>>
>> 1 + 2310n has 1358 primes for n up to 4329
>>
>> 1358/4329 = 31.3% primes
>>
>> Here's a list in general for the formulas that
>> return primes for Y + 2310n for Y up to 104.
>>
>> The occurence of primes is pretty even, and as
>> the primorial number size increases, ie instead of
>> 2310 if 9699690 or larger is used etc, then the
>> Y values match the primes more closely, but
>> even for 2310 it is pretty close.
>>
>> Y, number of primes produced for n up to 4329
>>
>
> [snip]
>
>>
>>
>
>
> According to wikipedia:
>
> https://en.wikipedia.org/wiki/Prime_number_theorem
>
> "the average gap between consecutive prime numbers among the first N
> integers is roughly log(N)"
>
> So even though the distribution of primes goes down proportional to
> the natural log of N, if the above formula with a primorial number is
> used, then the coefficients Y distribution goes down at roughly
> the log(N) too, since they approach being the prime numbers (I think)
> with large primorial numbers.
>
> So this means for big numbers, even though the primes are spaced
> farther apart (from the prime number theorem), if the primorial
> equations are used, there are also proportionately fewer
> Y that contain all the prime numbers as a percentage of all the
> possible Y coefficients up to the primorial number - 1.
>
> ie for primorial 9699690
>
> Y + 9699690n
>
> Y's max value for producing primes is at most 1 less than 9699690,
> and the values of Y are almost all primes themselves, so if a larger
> primorial number is used, ie 200560490130, the number of Y producing
> equations will grow the same as the prime number theorem essentially,
> however all Y will grow much larger.
>
> So there is always a lower percentage of equations that have to be
> searched for primes as the primorial number increases in size, that
> is proportionate to the increased spacing of the prime numbers.
>
> The growth rate of prime producing Y's is log(N) of the growth rate
> of the primordial number size I think.

Hi,

Basically for a primorial number about this size:
100,000,000,000,000,000

there will be approximately 2,623,557,157,654,233
values for Y that return all the prime numbers.

So about 2.6% of the possible values of Y return
all the primes, and the other 97.4% of the values
for Y have no primes I think.

cheers,
Jamie

>
> cheers,
> Jamie
>
>
>

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


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | sci.math


csiph-web