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


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

set of formulas for computing all prime numbers

Started byJamie M <jmorken@shaw.ca>
First post2016-02-18 01:43 -0800
Last post2016-02-20 20:44 -0800
Articles 20 on this page of 67 — 13 participants

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


Contents

  set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:43 -0800
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:53 -0800
      Re: set of formulas for computing all prime numbers pedro <me@privacy.net> - 2016-02-21 14:21 +0800
    Re: set of formulas for computing all prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-02-18 02:53 -0700
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 01:55 -0800
    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 02:49 -0800
    Re: set of formulas for computing all prime numbers DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-02-18 11:26 +0000
    Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 13:07 +0100
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:20 -0800
        Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 15:48 +0100
          Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:53 -0800
            Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 17:37 +0100
          Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 07:09 -0800
            Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 17:44 +0100
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 13:18 -0800
                Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-19 11:40 +0100
                  Re: set of formulas for computing all prime numbers DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-02-19 11:32 +0000
                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:15 -0800
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 13:39 -0800
                Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-19 11:46 +0100
                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:35 -0800
                    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 02:49 -0800
                      Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 10:57 +0100
                        Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-22 03:18 -0800
                    Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 10:54 +0100
                      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-22 03:26 -0800
                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 05:12 -0800
                Re: set of formulas for computing all prime numbers Jasen Betts <jasen@xnet.co.nz> - 2016-02-20 08:34 +0000
        Re: set of formulas for computing all prime numbers pedro <me@privacy.net> - 2016-02-21 14:32 +0800
          Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 22:59 -0800
            Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-22 11:10 +0100
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 03:05 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 03:19 -0800
                Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-23 12:35 +0100
                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 04:12 -0800
                    Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 12:43 +0000
                      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:12 -0800
                        Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 13:48 +0000
                          Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:07 -0800
                      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:23 -0800
                        Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-23 13:51 +0000
                          Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:12 -0800
                            Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:17 -0800
                              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:40 -0800
                                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 06:42 -0800
                                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 08:55 -0800
                    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:06 -0800
                  Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:54 -0800
                    Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 05:59 -0800
    Re: set of formulas for computing all prime numbers jack4747@gmail.com - 2016-02-18 04:22 -0800
    Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-18 12:25 +0000
      Re: set of formulas for computing all prime numbers Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-02-18 14:16 +0000
        Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-18 14:53 +0000
          Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-22 14:15 +0000
            Re: set of formulas for computing all prime numbers Moufang Loop <moufang.loop@hotmail.invalid> - 2016-02-22 14:18 +0000
              Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 01:47 -0800
                Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-23 01:52 -0800
        Re: set of formulas for computing all prime numbers David Brown <david.brown@hesbynett.no> - 2016-02-18 15:58 +0100
        Re: set of formulas for computing all prime numbers R Kym Horsell <kym@kymhorsell.com> - 2016-02-18 17:34 +0000
      Re: set of formulas for computing all prime numbers Jim Burns <james.g.burns@att.net> - 2016-02-18 10:46 -0500
    Re: set of formulas for computing all prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-02-18 23:31 +1100
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:09 -0800
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:16 -0800
        Re: set of formulas for computing all prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-02-19 19:10 +1100
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:45 -0800
    Re: set of formulas for computing all prime numbers bloggs.fredbloggs.fred@gmail.com - 2016-02-20 06:53 -0800
      Re: set of formulas for computing all prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-20 20:44 -0800

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


#400040

FromMoufang Loop <moufang.loop@hotmail.invalid>
Date2016-02-23 13:51 +0000
Message-ID<naho54$4di$2@news.albasani.net>
In reply to#400038
Jamie M wrote:
> On 2/23/2016 4:43 AM, Moufang Loop wrote:
>
>> "for any k there exists a pair of a and b with the property that L(n) =
>> an+b is prime for any n from 0 to k − 1." from
>> https://en.wikipedia.org/wiki/Formula_for_primes.
>
>
> Hi,
>
>  From the related page on that:
>
> https://en.wikipedia.org/wiki/Green%E2%80%93Tao_theorem
>
> It looks like they are finding these formulas with brute
> force:
>
>
> "The proof of the Green–Tao does not show how to find the progressions
> of primes; it merely proves they exist. There has been separate
> computational work to find large arithmetic progressions in the primes.
> On January 18, 2007, Jarosław Wróblewski found the first known case of
> 24 primes in arithmetic progression:[4]
>
>      468,395,662,504,823 + 205,619 · 223,092,870 · n, for n = 0 to 23.
>
> The constant 223092870 here is the product of the prime numbers up to 23
> (see primorial).
>
> On May 17, 2008, Wróblewski and Raanan Chermoni found the first known
> case of 25 primes:
>
>      6,171,054,912,832,631 + 366,384 · 223,092,870 · n, for n = 0 to 24.
>
> On April 12, 2010, Benoãt Perichon with software by Wróblewski and Geoff
> Reynolds in a distributed PrimeGrid project found the first known case
> of 26 primes (sequence A204189 in OEIS):
>
>      43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n, for n = 0 to
> 25.
> "
>
>
> So they say they don't know how to find the progression of primes,
> but really using that best formula they show:
>
> 43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n
>
> I can almost guarantee that 23,681,770 · 223,092,870 (A)
> is a number with very high unique divisor count, and
> 43,142,746,595,714,191 is a prime, it is larger than
> the product of 23,681,770 · 223,092,870 which is:
> 5,283,186,672,439,900 though so is different from the
> one I'm doing.
>
> But I would guess that 5,283,186,672,439,900 has a lot
> of unique factors anyway..

2^2 5^2 7 373 907 22309087  (8 prime factors, 6 distinct) says Wolframalpha.

> I think it is possible to find smaller numbers than these
> with 25 consecutive primes though.
>
> cheers,
> Jamie
>
>
>
>
>
>>
>>> but should be doable I'd say.  A will be a lot larger though.
>>>
>>> Here is a list of prime generating polynomials:
>>> http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
>>>
>>> Also mentions:
>>>
>>> "Jones, Sato, Wada, and Wiens have also found a polynomial of degree 25
>>> in 26 variables whose positive values are exactly the prime numbers
>>> (Flannery and Flannery 2000, p. 51)."
>>
>> This is the result I referred to elsdewhere.
>>
>>>
>>> cheers,
>>> Jamie
>>>
>>
>

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


#400045

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 06:12 -0800
Message-ID<nahpdf$v0r$1@gioia.aioe.org>
In reply to#400040
On 2/23/2016 5:51 AM, Moufang Loop wrote:
> Jamie M wrote:
>> On 2/23/2016 4:43 AM, Moufang Loop wrote:
>>
>>> "for any k there exists a pair of a and b with the property that L(n) =
>>> an+b is prime for any n from 0 to k − 1." from
>>> https://en.wikipedia.org/wiki/Formula_for_primes.
>>
>>
>> Hi,
>>
>>  From the related page on that:
>>
>> https://en.wikipedia.org/wiki/Green%E2%80%93Tao_theorem
>>
>> It looks like they are finding these formulas with brute
>> force:
>>
>>
>> "The proof of the Green–Tao does not show how to find the progressions
>> of primes; it merely proves they exist. There has been separate
>> computational work to find large arithmetic progressions in the primes.
>> On January 18, 2007, Jarosław Wróblewski found the first known case of
>> 24 primes in arithmetic progression:[4]
>>
>>      468,395,662,504,823 + 205,619 · 223,092,870 · n, for n = 0 to 23.
>>
>> The constant 223092870 here is the product of the prime numbers up to 23
>> (see primorial).
>>
>> On May 17, 2008, Wróblewski and Raanan Chermoni found the first known
>> case of 25 primes:
>>
>>      6,171,054,912,832,631 + 366,384 · 223,092,870 · n, for n = 0 to 24.
>>
>> On April 12, 2010, Benoãt Perichon with software by Wróblewski and Geoff
>> Reynolds in a distributed PrimeGrid project found the first known case
>> of 26 primes (sequence A204189 in OEIS):
>>
>>      43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n, for n = 0 to
>> 25.
>> "
>>
>>
>> So they say they don't know how to find the progression of primes,
>> but really using that best formula they show:
>>
>> 43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n
>>
>> I can almost guarantee that 23,681,770 · 223,092,870 (A)
>> is a number with very high unique divisor count, and
>> 43,142,746,595,714,191 is a prime, it is larger than
>> the product of 23,681,770 · 223,092,870 which is:
>> 5,283,186,672,439,900 though so is different from the
>> one I'm doing.
>>
>> But I would guess that 5,283,186,672,439,900 has a lot
>> of unique factors anyway..
>
> 2^2 5^2 7 373 907 22309087  (8 prime factors, 6 distinct) says
> Wolframalpha.


Ok but also it has a lot of divisors, wolfram alpha gave this:

"divisors 5,283,186,672,439,900"

{1, 2, 4, 5, 7, 10, 14, 20, 25, 28, 35, 50, 70, 100, 140, 175, 350, 373, 
700, 746, 907, 1492, 1814, 1865, 2611, 3628, 3730, 4535, 5222, 6349, 
7460, 9070, 9325, 10444, 12698, 13055, 18140, 18650, 22675, 25396, 
26110, 31745, 37300, 45350, 52220, 63490, 65275, 90700, 126980, 130550, 
158725, 261100, 317450, 338311, 634900, 676622, 1353244, 1691555, 
2368177, 3383110, 4736354, 6766220, 8457775, 9472708, 11840885, 
16915550, 22309087, 23681770, 33831100, 44618174, 47363540, 59204425, 
89236348, 111545435, 118408850, 156163609, 223090870, 236817700, 
312327218, 446181740, 557727175, 624654436, 780818045, 1115454350, 
1561636090, 2230908700, 3123272180, 3904090225, 7808180450, 8321289451, 
15616360900, 16642578902, 20234341909, 33285157804, 40468683818, 
41606447255, 58249026157, 80937367636, 83212894510, 101171709545, 
116498052314, 141640393363, 166425789020, 202343419090, 208032236275, 
232996104628, 283280786726, 291245130785, 404686838180, 416064472550, 
505858547725, 566561573452, 582490261570, 708201966815, 832128945100, 
1011717095450, 1164980523140, 1416403933630, 1456225653925, 
2023434190900, 2832807867260, 2912451307850, 3541009834075, 
5824902615700, 7082019668150, 7547409532057, 14164039336300, 
15094819064114, 30189638128228, 37737047660285, 52831866724399, 
75474095320570, 105663733448798, 150948190641140, 188685238301425, 
211327466897596, 264159333621995, 377370476602850, 528318667243990, 
754740953205700, 1056637334487980, 1320796668109975, 2641593336219950, 
5283186672439900}

Not bad :D

cheers,
Jamie



>
>> I think it is possible to find smaller numbers than these
>> with 25 consecutive primes though.
>>
>> cheers,
>> Jamie
>>
>>
>>
>>
>>
>>>
>>>> but should be doable I'd say.  A will be a lot larger though.
>>>>
>>>> Here is a list of prime generating polynomials:
>>>> http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
>>>>
>>>> Also mentions:
>>>>
>>>> "Jones, Sato, Wada, and Wiens have also found a polynomial of degree 25
>>>> in 26 variables whose positive values are exactly the prime numbers
>>>> (Flannery and Flannery 2000, p. 51)."
>>>
>>> This is the result I referred to elsdewhere.
>>>
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>
>>
>

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


#400046

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 06:17 -0800
Message-ID<nahpm1$vej$1@gioia.aioe.org>
In reply to#400045
On 2/23/2016 6:12 AM, Jamie M wrote:
> On 2/23/2016 5:51 AM, Moufang Loop wrote:
>> Jamie M wrote:
>>> On 2/23/2016 4:43 AM, Moufang Loop wrote:
>>>
>>>> "for any k there exists a pair of a and b with the property that L(n) =
>>>> an+b is prime for any n from 0 to k − 1." from
>>>> https://en.wikipedia.org/wiki/Formula_for_primes.
>>>
>>>
>>> Hi,
>>>
>>>  From the related page on that:
>>>
>>> https://en.wikipedia.org/wiki/Green%E2%80%93Tao_theorem
>>>
>>> It looks like they are finding these formulas with brute
>>> force:
>>>
>>>
>>> "The proof of the Green–Tao does not show how to find the progressions
>>> of primes; it merely proves they exist. There has been separate
>>> computational work to find large arithmetic progressions in the primes.
>>> On January 18, 2007, Jarosław Wróblewski found the first known case of
>>> 24 primes in arithmetic progression:[4]
>>>
>>>      468,395,662,504,823 + 205,619 · 223,092,870 · n, for n = 0 to 23.
>>>
>>> The constant 223092870 here is the product of the prime numbers up to 23
>>> (see primorial).
>>>
>>> On May 17, 2008, Wróblewski and Raanan Chermoni found the first known
>>> case of 25 primes:
>>>
>>>      6,171,054,912,832,631 + 366,384 · 223,092,870 · n, for n = 0 to 24.
>>>
>>> On April 12, 2010, Benoãt Perichon with software by Wróblewski and Geoff
>>> Reynolds in a distributed PrimeGrid project found the first known case
>>> of 26 primes (sequence A204189 in OEIS):
>>>
>>>      43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n, for n = 0 to
>>> 25.
>>> "
>>>
>>>
>>> So they say they don't know how to find the progression of primes,
>>> but really using that best formula they show:
>>>
>>> 43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n
>>>
>>> I can almost guarantee that 23,681,770 · 223,092,870 (A)
>>> is a number with very high unique divisor count, and
>>> 43,142,746,595,714,191 is a prime, it is larger than
>>> the product of 23,681,770 · 223,092,870 which is:
>>> 5,283,186,672,439,900 though so is different from the
>>> one I'm doing.
>>>
>>> But I would guess that 5,283,186,672,439,900 has a lot
>>> of unique factors anyway..
>>
>> 2^2 5^2 7 373 907 22309087  (8 prime factors, 6 distinct) says
>> Wolframalpha.
>
>
> Ok but also it has a lot of divisors, wolfram alpha gave this:
>
> "divisors 5,283,186,672,439,900"
>
> {1, 2, 4, 5, 7, 10, 14, 20, 25, 28, 35, 50, 70, 100, 140, 175, 350, 373,
> 700, 746, 907, 1492, 1814, 1865, 2611, 3628, 3730, 4535, 5222, 6349,
> 7460, 9070, 9325, 10444, 12698, 13055, 18140, 18650, 22675, 25396,
> 26110, 31745, 37300, 45350, 52220, 63490, 65275, 90700, 126980, 130550,
> 158725, 261100, 317450, 338311, 634900, 676622, 1353244, 1691555,
> 2368177, 3383110, 4736354, 6766220, 8457775, 9472708, 11840885,
> 16915550, 22309087, 23681770, 33831100, 44618174, 47363540, 59204425,
> 89236348, 111545435, 118408850, 156163609, 223090870, 236817700,
> 312327218, 446181740, 557727175, 624654436, 780818045, 1115454350,
> 1561636090, 2230908700, 3123272180, 3904090225, 7808180450, 8321289451,
> 15616360900, 16642578902, 20234341909, 33285157804, 40468683818,
> 41606447255, 58249026157, 80937367636, 83212894510, 101171709545,
> 116498052314, 141640393363, 166425789020, 202343419090, 208032236275,
> 232996104628, 283280786726, 291245130785, 404686838180, 416064472550,
> 505858547725, 566561573452, 582490261570, 708201966815, 832128945100,
> 1011717095450, 1164980523140, 1416403933630, 1456225653925,
> 2023434190900, 2832807867260, 2912451307850, 3541009834075,
> 5824902615700, 7082019668150, 7547409532057, 14164039336300,
> 15094819064114, 30189638128228, 37737047660285, 52831866724399,
> 75474095320570, 105663733448798, 150948190641140, 188685238301425,
> 211327466897596, 264159333621995, 377370476602850, 528318667243990,
> 754740953205700, 1056637334487980, 1320796668109975, 2641593336219950,
> 5283186672439900}
>
> Not bad :D
>
> cheers,
> Jamie


Hi,

So all those divisors can be summed in different ways along with the
prime 43,142,746,595,714,191 to sum up to the square of the new prime
that is found I think.

example of what I posted before:

"
ie for the simple formula 5+6n

6 has unique divisors: 1,2,3,6

and the formula finds the prime number 23 with
5+6(3)

So the number here that is added to the prime is 18,
and it has unique divisors:
1, 2, 3, 6, 9, 18

These can be arranged on the X Y graph to give the
X Y coordinates of the square for the prime 23,
by adding up the different divisors, ie 18+3+2=23
"

cheers,
Jamie



>
>
>
>>
>>> I think it is possible to find smaller numbers than these
>>> with 25 consecutive primes though.
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>>
>>>
>>>
>>>>
>>>>> but should be doable I'd say.  A will be a lot larger though.
>>>>>
>>>>> Here is a list of prime generating polynomials:
>>>>> http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
>>>>>
>>>>> Also mentions:
>>>>>
>>>>> "Jones, Sato, Wada, and Wiens have also found a polynomial of
>>>>> degree 25
>>>>> in 26 variables whose positive values are exactly the prime numbers
>>>>> (Flannery and Flannery 2000, p. 51)."
>>>>
>>>> This is the result I referred to elsdewhere.
>>>>
>>>>>
>>>>> cheers,
>>>>> Jamie
>>>>>
>>>>
>>>
>>
>

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


#400051

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 06:40 -0800
Message-ID<nahr0d$11s7$1@gioia.aioe.org>
In reply to#400046
On 2/23/2016 6:17 AM, Jamie M wrote:
> On 2/23/2016 6:12 AM, Jamie M wrote:
>> On 2/23/2016 5:51 AM, Moufang Loop wrote:
>>> Jamie M wrote:
>>>> On 2/23/2016 4:43 AM, Moufang Loop wrote:
>>>>
>>>>> "for any k there exists a pair of a and b with the property that
>>>>> L(n) =
>>>>> an+b is prime for any n from 0 to k − 1." from
>>>>> https://en.wikipedia.org/wiki/Formula_for_primes.
>>>>
>>>>
>>>> Hi,
>>>>
>>>>  From the related page on that:
>>>>
>>>> https://en.wikipedia.org/wiki/Green%E2%80%93Tao_theorem
>>>>
>>>> It looks like they are finding these formulas with brute
>>>> force:
>>>>
>>>>
>>>> "The proof of the Green–Tao does not show how to find the progressions
>>>> of primes; it merely proves they exist. There has been separate
>>>> computational work to find large arithmetic progressions in the primes.
>>>> On January 18, 2007, Jarosław Wróblewski found the first known case of
>>>> 24 primes in arithmetic progression:[4]
>>>>
>>>>      468,395,662,504,823 + 205,619 · 223,092,870 · n, for n = 0 to 23.
>>>>
>>>> The constant 223092870 here is the product of the prime numbers up
>>>> to 23
>>>> (see primorial).
>>>>
>>>> On May 17, 2008, Wróblewski and Raanan Chermoni found the first known
>>>> case of 25 primes:
>>>>
>>>>      6,171,054,912,832,631 + 366,384 · 223,092,870 · n, for n = 0 to
>>>> 24.
>>>>
>>>> On April 12, 2010, Benoãt Perichon with software by Wróblewski and
>>>> Geoff
>>>> Reynolds in a distributed PrimeGrid project found the first known case
>>>> of 26 primes (sequence A204189 in OEIS):
>>>>
>>>>      43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n, for n =
>>>> 0 to
>>>> 25.
>>>> "
>>>>
>>>>
>>>> So they say they don't know how to find the progression of primes,
>>>> but really using that best formula they show:
>>>>
>>>> 43,142,746,595,714,191 + 23,681,770 · 223,092,870 · n
>>>>
>>>> I can almost guarantee that 23,681,770 · 223,092,870 (A)
>>>> is a number with very high unique divisor count, and
>>>> 43,142,746,595,714,191 is a prime, it is larger than
>>>> the product of 23,681,770 · 223,092,870 which is:
>>>> 5,283,186,672,439,900 though so is different from the
>>>> one I'm doing.
>>>>
>>>> But I would guess that 5,283,186,672,439,900 has a lot
>>>> of unique factors anyway..
>>>
>>> 2^2 5^2 7 373 907 22309087  (8 prime factors, 6 distinct) says
>>> Wolframalpha.
>>
>>
>> Ok but also it has a lot of divisors, wolfram alpha gave this:
>>
>> "divisors 5,283,186,672,439,900"
>>
>> {1, 2, 4, 5, 7, 10, 14, 20, 25, 28, 35, 50, 70, 100, 140, 175, 350, 373,
>> 700, 746, 907, 1492, 1814, 1865, 2611, 3628, 3730, 4535, 5222, 6349,
>> 7460, 9070, 9325, 10444, 12698, 13055, 18140, 18650, 22675, 25396,
>> 26110, 31745, 37300, 45350, 52220, 63490, 65275, 90700, 126980, 130550,
>> 158725, 261100, 317450, 338311, 634900, 676622, 1353244, 1691555,
>> 2368177, 3383110, 4736354, 6766220, 8457775, 9472708, 11840885,
>> 16915550, 22309087, 23681770, 33831100, 44618174, 47363540, 59204425,
>> 89236348, 111545435, 118408850, 156163609, 223090870, 236817700,
>> 312327218, 446181740, 557727175, 624654436, 780818045, 1115454350,
>> 1561636090, 2230908700, 3123272180, 3904090225, 7808180450, 8321289451,
>> 15616360900, 16642578902, 20234341909, 33285157804, 40468683818,
>> 41606447255, 58249026157, 80937367636, 83212894510, 101171709545,
>> 116498052314, 141640393363, 166425789020, 202343419090, 208032236275,
>> 232996104628, 283280786726, 291245130785, 404686838180, 416064472550,
>> 505858547725, 566561573452, 582490261570, 708201966815, 832128945100,
>> 1011717095450, 1164980523140, 1416403933630, 1456225653925,
>> 2023434190900, 2832807867260, 2912451307850, 3541009834075,
>> 5824902615700, 7082019668150, 7547409532057, 14164039336300,
>> 15094819064114, 30189638128228, 37737047660285, 52831866724399,
>> 75474095320570, 105663733448798, 150948190641140, 188685238301425,
>> 211327466897596, 264159333621995, 377370476602850, 528318667243990,
>> 754740953205700, 1056637334487980, 1320796668109975, 2641593336219950,
>> 5283186672439900}
>>
>> Not bad :D
>>
>> cheers,
>> Jamie
>


hmm the primorial number 6469693230, which is a lot smaller
has 1024 divisors and 10 distinct prime factors though according to
wolfram alpha.  It would be interesting to

the primorial number 200560490130 has 2048 divisors and 11 distinct
prime factors.

Hey consecutive primorial numbers have twice as many divisors, and
their divisor counts are powers of 2 matching the number of
distinct prime factors! :)

ie 2^10 and 2^11 above..

cheers,
Jamie





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


#400052

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 06:42 -0800
Message-ID<nahr58$11s7$2@gioia.aioe.org>
In reply to#400051
On 2/23/2016 6:40 AM, Jamie M wrote:

> hmm the primorial number 6469693230, which is a lot smaller
> has 1024 divisors and 10 distinct prime factors though according to
> wolfram alpha.  It would be interesting to
>
> the primorial number 200560490130 has 2048 divisors and 11 distinct
> prime factors.
>
> Hey consecutive primorial numbers have twice as many divisors, and
> their divisor counts are powers of 2 matching the number of
> distinct prime factors! :)
>
> ie 2^10 and 2^11 above..
>
> cheers,
> Jamie

Yep:

https://oeis.org/A046971

"the k-th primorial number (A002110) is the smallest positive integer
such that its number of unitary divisors (A034444) is 2^k. Thus the
binary orders (A029837) of primorial numbers (A045716) determines the
maximal values of unitary divisors in binary order ranges."


>
>
>
>
>
>

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


#400069

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 08:55 -0800
Message-ID<nai2u9$1hbr$1@gioia.aioe.org>
In reply to#400052
On 2/23/2016 6:42 AM, Jamie M wrote:
> On 2/23/2016 6:40 AM, Jamie M wrote:
>
>> hmm the primorial number 6469693230, which is a lot smaller
>> has 1024 divisors and 10 distinct prime factors though according to
>> wolfram alpha.  It would be interesting to
>>
>> the primorial number 200560490130 has 2048 divisors and 11 distinct
>> prime factors.
>>
>> Hey consecutive primorial numbers have twice as many divisors, and
>> their divisor counts are powers of 2 matching the number of
>> distinct prime factors! :)
>>
>> ie 2^10 and 2^11 above..
>>
>> cheers,
>> Jamie
>
> Yep:
>
> https://oeis.org/A046971
>
> "the k-th primorial number (A002110) is the smallest positive integer
> such that its number of unitary divisors (A034444) is 2^k. Thus the
> binary orders (A029837) of primorial numbers (A045716) determines the
> maximal values of unitary divisors in binary order ranges."
>


Hi,

I have a new conjecture about primes that is similar to Goldbach's
conjecture:
https://en.wikipedia.org/wiki/Goldbach's_conjecture

However I am saying that all primes can be written as a sum of
a prime number of primes (ie sum of 2,3,5,7.. primes) with the
largest always being the prime next to the prime being summed to:

prime(n) = prime(n-1) + next smallest list of primes to sum to prime(n)

count of prime(n-1) + next smallest list of primes to sum to prime(n) = 
a prime number

ie 23=19+2+2 (prime) and count 3 is prime

Why is this important (maybe)?
It can maybe show a difference between sums for primes and for 
non-primes possibly (not sure)

Also might show a "connection" between consecutive primes,
in how new larger primes are created using the smaller primes.

It is possible to strengthen the conjecture to being a sum of
2 or 3 primes, but since one of the primes is set as being
the next smallest prime that might be too restrictive.

I think if this can be proven it would describe more what primes
are..

2=2 (prime) and count 1 is not prime or composite
3=2+1 (prime) and count 2 sum terms is prime
5=3+2 (prime) and count 2 sum terms is prime
7=5+2 (prime) and count 3 sum terms is prime
11=7+2+2 (prime) and count 3 sum terms is prime
13=11+2 (prime) and count 2 sum terms is prime
17=13+2+2 (prime) and count 3 is prime
19=17+2 (prime) and count 2 is prime
23=19+2+2 (prime) and count 3 is prime
29=23+3+3 (prime) and count 3 is prime
31=29+2	  ... all the below primes have count that is prime too
37=31+3+3
41=37+2+2
43=41+2
47=43+2+2
53=47+3+3
59=53+3+3
61=59+2
67=61+3+3
71=67+2+2
73=71+2
79=73+3+3
83=79+2+2
89=83+3+3
97=89+5+3
101=97+2+2
103=101+2
107=103+2+2
109=107+2
113=109+2+2
127=113+11+3
131=127+2+2
137=131+3+3
139=137+2
149=139+5+5
151=149+2
157=151+3+3
163=157+3+3
....
7243=7237+3+3
7247=7243+2+2
7253=7247+3+3
7283=7253+23+7
7283=7253+17+13
7297=7283+11+3
7307=7297+7+3
....
247538611=247538597+7+7
253893139=253893137+2
....
981036977-981036967+7+3
981036989-981036977+7+5
981036997-981036989+5+3
981037007-981036997+7+3
981037069-981037007+59+3
981037081-981037069+7+5
981037091-981037081+7+3
....
899999902783=899999902759+19+5
899999902829=899999902783+43+3
899999902831=899999902829+2
899999902849=899999902831+13+5
899999902853=899999902849+2+2
899999902859=899999902853+3+3
899999902877=899999902859+13+5
899999902891=899999902877+11+3
899999902897=899999902891+3+3
....

these trillion size primes from:
http://compoasso.free.fr/primelistweb/page/prime/liste_online_en.php

This wouldn't work for non-primes I don't think since they
are spaced only one digit apart, ie these composite numbers
can be spaced one apart, and in that case +1 isnt a prime,
but otherwise it may be the same as for the primes above.

composite=nextSmallestPrime+prime(s)

899999902892=899999902891+1
899999902893=899999902891+2
899999902894=899999902891+3
899999902895=899999902891+2+2
899999902896=899999902891+5

cheers,
Jamie



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

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


#400034

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 05:06 -0800
Message-ID<nahlg8$mkj$1@gioia.aioe.org>
In reply to#400025
On 2/23/2016 4:12 AM, Jamie M wrote:

> Of course it isn't useful its math, however I do plan on getting to
> 100% prime output up to a certain range, ie maybe beat n^2+n+41,
> which gives primes for the first 40 consecutive integers.
>
> With that last formula I posted 17 + 6930n, it gives primes for
> like the first 12 or something, so I have a ways to go still,
> but should be doable I'd say.  A will be a lot larger though.
>
> Here is a list of prime generating polynomials:
> http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html
>
> Also mentions:
>
> "Jones, Sato, Wada, and Wiens have also found a polynomial of degree 25
> in 26 variables whose positive values are exactly the prime numbers
> (Flannery and Flannery 2000, p. 51)."
>
> cheers,
> Jamie
>



Actually I think there is a principle that I found too...

ie. *new* prime numbers are found much more often when *known*
smaller prime numbers added to numbers that have many unique divisors.

This means that a *new* prime number will be found more often when
added to a number that can be expressed in many possible ways more
often than when the number can only be expressed in few ways.

So this implies that the unknown future occurrence of a prime number
appearing is related to how many unique divisors (how many
configurations the number has) of the number that is added to the
small prime.

This is like the analogy of collapsing a wave function to get a
specific value of a new prime.  The wave function is the integer
multiple of a number with many unique divisors, and the seed is
a small prime.  The complexity or information is proportional
to the unique divisors of the number, which are all different
beat frequencies in a wave function analogy for example.

The question is why is a system like that more likely to
create a new prime number when an existing known smaller
prime is added to it, compared to a system with fewer unique
divisors or beat frequencies by analogy.

On a 2d graph of unit squares, with zero for X and Y at the origin,
all squares of primes (ie 7^2=49) are on the diagonal, so this
is the only line that primes can be found, on the diagonal.

For numbers with many unique divisors, they form many rectangles
on this graph representing different ways to multiple to the
number, ie for the number 24, which has unique divisors:

1, 2, 3, 4, 6, 8, 12, 24

It is represented by rectangles:
2x12
3x8
4x6
12x1

For numbers with only a few unique divisors, there are less
rectangles on this graph for them.

ie for the number 25, which has unique divisors:

1, 5, 25

It is represented by rectangles:
1x25
5x5

All primes are squares on this graph, and all numbers
with many unique divisors have a lot of non-square rectangles,
and maybe no squares not sure, but I think that since
the orientations with many non-square rectangles produce
more primes, it must be because there is a way to organize
the unique divisors to match the coordinates of the prime
that is created.

ie for the simple formula 5+6n

6 has unique divisors: 1,2,3,6

and the formula finds the prime number 23 with
5+6(3)

So the number here that is added to the prime is 18,
and it has unique divisors:
1, 2, 3, 6, 9, 18

These can be arranged on the X Y graph to give the
X Y coordinates of the square for the prime 23,
by adding up the different divisors, ie 18+3+2=23

This shows there is an interference in the wave function
analogy that allows a new frequency to be created,
when the small prime 5 (seed frequency analogy)
is added.

So to find primes at a certain value, the unique divisors
should be able to sum up to that value.

This idea will take work to verify right now it is just
brainstorming.

cheers,
Jamie




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


#400041

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 05:54 -0800
Message-ID<nahoas$sss$1@gioia.aioe.org>
In reply to#400023
On 2/23/2016 3:35 AM, David Brown wrote:
> On 23/02/16 12:05, Jamie M wrote:
>>
>> If I use a bigger number with tons of divisors, I should be able to
>> get the percentage of primes found up quite a bit still, since
>> the list of coefficients won't grow much.
>>
>
> That's all true - but remember that no matter what A and x you pick, the
> percentage of primes drops away rapidly as n increases.  That means you
> are not finding anything useful here.  It can be interesting to find
> patterns like this - and now you have found out a lot about the patterns
> for the simple formula An + x.  Measuring samples for ever-higher values
> of A and x will not teach you anything new.
>
>

Hi,

I think the special thing about that number I found 6930, which produces
the most primes for all numbers up to 7000 is that it is very similar
to a primorial number, as well as having a lot of unique divisors.

6930 close to primorial:

2 * 3^2 * 5 * 7 * 11

6930 unique divisors:

1, 2, 3, 5, 6, 7, 9, 10, 11, 14, 15, 18, 21, 22, 30, 33, 35, 42, 45, 55, 
63, 66, 70, 77, 90, 99, 105, 110, 126, 154, 165, 198, 210, 231, 315, 
330, 385, 462, 495, 630, 693, 770, 990, 1155, 1386, 2310, 3465, 6930

cheers,
Jamie

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


#400043

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 05:59 -0800
Message-ID<nahojh$t85$1@gioia.aioe.org>
In reply to#400041
On 2/23/2016 5:54 AM, Jamie M wrote:
> On 2/23/2016 3:35 AM, David Brown wrote:
>> On 23/02/16 12:05, Jamie M wrote:
>>>
>>> If I use a bigger number with tons of divisors, I should be able to
>>> get the percentage of primes found up quite a bit still, since
>>> the list of coefficients won't grow much.
>>>
>>
>> That's all true - but remember that no matter what A and x you pick, the
>> percentage of primes drops away rapidly as n increases.  That means you
>> are not finding anything useful here.  It can be interesting to find
>> patterns like this - and now you have found out a lot about the patterns
>> for the simple formula An + x.  Measuring samples for ever-higher values
>> of A and x will not teach you anything new.
>>
>>
>
> Hi,
>
> I think the special thing about that number I found 6930, which produces
> the most primes for all numbers up to 7000 is that it is very similar
> to a primorial number, as well as having a lot of unique divisors.
>
> 6930 close to primorial:
>
> 2 * 3^2 * 5 * 7 * 11
>
> 6930 unique divisors:
>
> 1, 2, 3, 5, 6, 7, 9, 10, 11, 14, 15, 18, 21, 22, 30, 33, 35, 42, 45, 55,
> 63, 66, 70, 77, 90, 99, 105, 110, 126, 154, 165, 198, 210, 231, 315,
> 330, 385, 462, 495, 630, 693, 770, 990, 1155, 1386, 2310, 3465, 6930
>
> cheers,
> Jamie
>
>


Also the related concept of abundant number, which 6930 is too
might be important for predicting future primes..


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


#399286

Fromjack4747@gmail.com
Date2016-02-18 04:22 -0800
Message-ID<dfab1997-23f0-4504-87bd-fff0bf54fc42@googlegroups.com>
In reply to#399272
Il giorno giovedì 18 febbraio 2016 10:43:54 UTC+1, Jamie M ha scritto:
> Hi,
> 
> 
> Here is a set of formulas for computing all prime numbers:
> 
> for each go from n=0 to n=infinity and the combined

> not all will be prime

so it's useless.

Bye Jack

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


#399287

FromMoufang Loop <moufang.loop@hotmail.invalid>
Date2016-02-18 12:25 +0000
Message-ID<na4d7h$o4r$1@news.albasani.net>
In reply to#399272
Jamie M wrote:
> Hi,
>
>
> Here is a set of formulas for computing all prime numbers:

There are polynomials whose positive values (for positive integer values 
of the variables) are all and only the prime numbers.  I think the first 
one had 26 variables.  Perhaps there are examples with fewer than that now.

> for each go from n=0 to n=infinity and the combined
> outputs will contain all the primes
>
> 1+60n
> 3+60n
> 7+60n
> 11+60n
> 13+60n
> 17+60n
> 19+60n
> 23+60n
> 29+60n
> 31+60n
> 37+60n
> 41+60n
> 43+60n
> 47+60n
> 49+60n
> 53+60n
> 59+60n
>
> ie for 1+60n
>
> for n = 1,2,3
> 61=1+60*1
> 121=1+60*2
> 181=1+60*3
>
> not all will be prime, but the above formulas will have all the
> primes, and none of them will be repeated, ie each formula will
> produce a unique set of prime numbers, when combined give all
> the primes.
>
> If anyone is interested in how I figured this out I will give a full
> description :D
>
> cheers,
> Jamie
>

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


#399294

FromMartin Brown <|||newspam|||@nezumi.demon.co.uk>
Date2016-02-18 14:16 +0000
Message-ID<na4jp5$1lan$1@gioia.aioe.org>
In reply to#399287
On 18/02/2016 12:25, Moufang Loop wrote:
> Jamie M wrote:
>> Hi,
>>
>>
>> Here is a set of formulas for computing all prime numbers:
>
> There are polynomials whose positive values (for positive integer values
> of the variables) are all and only the prime numbers.  I think the first
> one had 26 variables.  Perhaps there are examples with fewer than that now.

Are there? I thought there was a proof that no such polynomial could 
exist with constant coefficients. A set of diophantine equations and an 
inequality relation do exist to predict primes but it is messy.

As toy models for predicting primes that look OK for a while

p = 41 + n + n^2

is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2

-- 
Regards,
Martin Brown

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


#399301

FromMoufang Loop <moufang.loop@hotmail.invalid>
Date2016-02-18 14:53 +0000
Message-ID<na4lth$89b$1@news.albasani.net>
In reply to#399294
Martin Brown wrote:
> On 18/02/2016 12:25, Moufang Loop wrote:
>> Jamie M wrote:
>>> Hi,
>>>
>>>
>>> Here is a set of formulas for computing all prime numbers:
>>
>> There are polynomials whose positive values (for positive integer values
>> of the variables) are all and only the prime numbers.  I think the first
>> one had 26 variables.  Perhaps there are examples with fewer than that
>> now.
>
> Are there? I thought there was a proof that no such polynomial

In one variable.

> could
> exist with constant coefficients. A set of diophantine equations and an
> inequality relation do exist to predict primes but it is messy.
>
> As toy models for predicting primes that look OK for a while
>
> p = 41 + n + n^2
>
> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
>

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


#399853

FromMoufang Loop <moufang.loop@hotmail.invalid>
Date2016-02-22 14:15 +0000
Message-ID<naf56n$9ld$1@news.albasani.net>
In reply to#399301
Moufang Loop wrote:
> Martin Brown wrote:
>> On 18/02/2016 12:25, Moufang Loop wrote:
>>> Jamie M wrote:
>>>> Hi,
>>>>
>>>>
>>>> Here is a set of formulas for computing all prime numbers:
>>>
>>> There are polynomials whose positive values (for positive integer values
>>> of the variables) are all and only the prime numbers.  I think the first
>>> one had 26 variables.  Perhaps there are examples with fewer than that
>>> now.
>>
>> Are there? I thought there was a proof that no such polynomial
>
> In one variable.

Here's an interesting fact.  There is a real number theta such that 
floor(theta^(3^n)) is always prime for n = 1,2,...

http://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/S0002-9904-1947-08849-2.pdf

The last I heard [Hardy & Wright, 4th ed], it is a useless fact because 
to find theta with greater and greater accuracy one has to find larger 
and larger primes...  But that was in 1960 and it may be that theta has 
been found by independent means since.

>> could
>> exist with constant coefficients. A set of diophantine equations and an
>> inequality relation do exist to predict primes but it is messy.
>>
>> As toy models for predicting primes that look OK for a while
>>
>> p = 41 + n + n^2
>>
>> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
>>
>

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


#399855

FromMoufang Loop <moufang.loop@hotmail.invalid>
Date2016-02-22 14:18 +0000
Message-ID<naf5b2$9ld$2@news.albasani.net>
In reply to#399853
Moufang Loop wrote:
> Moufang Loop wrote:
>> Martin Brown wrote:
>>> On 18/02/2016 12:25, Moufang Loop wrote:
>>>> Jamie M wrote:
>>>>> Hi,
>>>>>
>>>>>
>>>>> Here is a set of formulas for computing all prime numbers:
>>>>
>>>> There are polynomials whose positive values (for positive integer
>>>> values
>>>> of the variables) are all and only the prime numbers.  I think the
>>>> first
>>>> one had 26 variables.  Perhaps there are examples with fewer than that
>>>> now.
>>>
>>> Are there? I thought there was a proof that no such polynomial
>>
>> In one variable.
>
> Here's an interesting fact.  There is a real number theta such that
> floor(theta^(3^n)) is always prime for n = 1,2,...
>
> http://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/S0002-9904-1947-08849-2.pdf

Also https://cs.uwaterloo.ca/journals/JIS/VOL8/Caldwell/caldwell78.pdf

>
>
> The last I heard [Hardy & Wright, 4th ed], it is a useless fact because
> to find theta with greater and greater accuracy one has to find larger
> and larger primes...  But that was in 1960 and it may be that theta has
> been found by independent means since.
>
>>> could
>>> exist with constant coefficients. A set of diophantine equations and an
>>> inequality relation do exist to predict primes but it is messy.
>>>
>>> As toy models for predicting primes that look OK for a while
>>>
>>> p = 41 + n + n^2
>>>
>>> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
>>>
>>
>

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


#400009

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 01:47 -0800
Message-ID<nah9s3$mj$1@gioia.aioe.org>
In reply to#399855
On 2/22/2016 6:18 AM, Moufang Loop wrote:
> Moufang Loop wrote:
>> Moufang Loop wrote:
>>> Martin Brown wrote:
>>>> On 18/02/2016 12:25, Moufang Loop wrote:
>>>>> Jamie M wrote:
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>
>>>>> There are polynomials whose positive values (for positive integer
>>>>> values
>>>>> of the variables) are all and only the prime numbers.  I think the
>>>>> first
>>>>> one had 26 variables.  Perhaps there are examples with fewer than that
>>>>> now.
>>>>
>>>> Are there? I thought there was a proof that no such polynomial
>>>
>>> In one variable.
>>
>> Here's an interesting fact.  There is a real number theta such that
>> floor(theta^(3^n)) is always prime for n = 1,2,...
>>
>> http://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/S0002-9904-1947-08849-2.pdf
>>
>
> Also https://cs.uwaterloo.ca/journals/JIS/VOL8/Caldwell/caldwell78.pdf
>

Hi,

That is cool, except it requires 185,000 digits in the constant in order
to just calculate the first 13 primes in the sequence (since they
are huge primes)

Mill's constant theta=1.306377883863080690...

Seems' like the constant just grows in length as required to match up
with the next prime?

cheers,
Jamie


>>
>>
>> The last I heard [Hardy & Wright, 4th ed], it is a useless fact because
>> to find theta with greater and greater accuracy one has to find larger
>> and larger primes...  But that was in 1960 and it may be that theta has
>> been found by independent means since.
>>
>>>> could
>>>> exist with constant coefficients. A set of diophantine equations and an
>>>> inequality relation do exist to predict primes but it is messy.
>>>>
>>>> As toy models for predicting primes that look OK for a while
>>>>
>>>> p = 41 + n + n^2
>>>>
>>>> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
>>>>
>>>
>>
>

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


#400010

FromJamie M <jmorken@shaw.ca>
Date2016-02-23 01:52 -0800
Message-ID<naha5c$18q$1@gioia.aioe.org>
In reply to#400009
On 2/23/2016 1:47 AM, Jamie M wrote:
> On 2/22/2016 6:18 AM, Moufang Loop wrote:
>> Moufang Loop wrote:
>>> Moufang Loop wrote:
>>>> Martin Brown wrote:
>>>>> On 18/02/2016 12:25, Moufang Loop wrote:
>>>>>> Jamie M wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>>
>>>>>>> Here is a set of formulas for computing all prime numbers:
>>>>>>
>>>>>> There are polynomials whose positive values (for positive integer
>>>>>> values
>>>>>> of the variables) are all and only the prime numbers.  I think the
>>>>>> first
>>>>>> one had 26 variables.  Perhaps there are examples with fewer than
>>>>>> that
>>>>>> now.
>>>>>
>>>>> Are there? I thought there was a proof that no such polynomial
>>>>
>>>> In one variable.
>>>
>>> Here's an interesting fact.  There is a real number theta such that
>>> floor(theta^(3^n)) is always prime for n = 1,2,...
>>>
>>> http://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/S0002-9904-1947-08849-2.pdf
>>>
>>>
>>
>> Also https://cs.uwaterloo.ca/journals/JIS/VOL8/Caldwell/caldwell78.pdf
>>
>
> Hi,
>
> That is cool, except it requires 185,000 digits in the constant in order
> to just calculate the first 13 primes in the sequence (since they
> are huge primes)
>
> Mill's constant theta=1.306377883863080690...
>
> Seems' like the constant just grows in length as required to match up
> with the next prime?
>
> cheers,
> Jamie
>

That formula just assumes there is at least one prime between x^3 and
(x+1)^3 as far as I understand it, so formulas like that with x^4 or
higher would work too I guess, showing that it is kind of pointless
as the value of theta is just tuned to hit the primes, ie there is no
way to find theta without knowing where the primes are, and there can
be multiple theta's depending on which primes are hit.

cheers,
Jamie


>
>>>
>>>
>>> The last I heard [Hardy & Wright, 4th ed], it is a useless fact because
>>> to find theta with greater and greater accuracy one has to find larger
>>> and larger primes...  But that was in 1960 and it may be that theta has
>>> been found by independent means since.
>>>
>>>>> could
>>>>> exist with constant coefficients. A set of diophantine equations
>>>>> and an
>>>>> inequality relation do exist to predict primes but it is messy.
>>>>>
>>>>> As toy models for predicting primes that look OK for a while
>>>>>
>>>>> p = 41 + n + n^2
>>>>>
>>>>> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
>>>>>
>>>>
>>>
>>
>

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


#399303

FromDavid Brown <david.brown@hesbynett.no>
Date2016-02-18 15:58 +0100
Message-ID<na4m1j$8hv$1@dont-email.me>
In reply to#399294
On 18/02/16 15:16, Martin Brown wrote:
> On 18/02/2016 12:25, Moufang Loop wrote:
>> Jamie M wrote:
>>> Hi,
>>>
>>>
>>> Here is a set of formulas for computing all prime numbers:
>>
>> There are polynomials whose positive values (for positive integer values
>> of the variables) are all and only the prime numbers.  I think the first
>> one had 26 variables.  Perhaps there are examples with fewer than that
>> now.
> 
> Are there? I thought there was a proof that no such polynomial could
> exist with constant coefficients. A set of diophantine equations and an
> inequality relation do exist to predict primes but it is messy.
> 

The inequality generated from the Diophantine equations gives you the
polynomial whose positive values (for positive integer values) are
primes.  You are talking about the same thing, just seen from a slightly
different angle.

It's not particularly useful in practice, of course, as you try to
enumerate through 26 simultaneous sequences of positive integers and
figure out which sets give you positive results (most choices give you
negative results).

And (according to the infallible Wikipedia) this can be reduced to a
polynomial in only 9 variables - but it is of degree 10^45, which is
quite inconvenient.

> As toy models for predicting primes that look OK for a while
> 
> p = 41 + n + n^2
> 
> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2
> 

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


#399328

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-02-18 17:34 +0000
Message-ID<na4vb0$ofp$2@odin.sdf-eu.org>
In reply to#399294
In sci.math Martin Brown <|||newspam|||@nezumi.demon.co.uk> wrote:
> On 18/02/2016 12:25, Moufang Loop wrote:
>> Jamie M wrote:
>>> Hi,
>>> Here is a set of formulas for computing all prime numbers:
>> There are polynomials whose positive values (for positive integer values
>> of the variables) are all and only the prime numbers.  I think the first
>> one had 26 variables.  Perhaps there are examples with fewer than that now.
> Are there? I thought there was a proof that no such polynomial could 
> exist with constant coefficients. A set of diophantine equations and an 
> inequality relation do exist to predict primes but it is messy.
> As toy models for predicting primes that look OK for a while
> p = 41 + n + n^2
> is hard to beat n = 0..39 are all primes, but for n = 40  p= 41^2

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

--
God @TheTweetOfGod 8:31 PM - 19 Apr 2014
THE NEW 10 COMMANDMENTS 
1 Laugh. 
2 Read. 
3 Say please. 
4 Floss. 
5 Doubt. 
6 Exercise. 
7 Learn. 
8 Don't hate. 
9 Cut the bullshit. 
10 Chill.
Retweets 24,787 Likes 19,364

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


#399307

FromJim Burns <james.g.burns@att.net>
Date2016-02-18 10:46 -0500
Message-ID<56C5E74A.2080407@att.net>
In reply to#399287
On 2/18/2016 7:25 AM, Moufang Loop wrote:
> Jamie M wrote:

>> Here is a set of formulas for computing all prime numbers:
>
> There are polynomials whose positive values (for positive
> integer values  of the variables) are all and only the prime
>  numbers. I think the first  one had 26 variables.  Perhaps
>  there are examples with fewer than that now.

I like this polynomial[1] not because I'll ever use it,
but because it lubricates my imagination when I am trying
to think about Goedel's incompleteness proof.

If I understand things properly, this prime polynomial[1]
_encodes_ the definition of prime number in arithmetic.
And it looks truly intimidating.

And Goedel produces (or proves exists) soemthing which _encodes_
the axioms and inference rules for a particular formal system.
And which makes the prime polynimial[1] look trivial in
comparison.

I have to say Goedel's incompleteness is not intuitive to
me, though I believe it when others tell me it's valid.
HOWEVER, when I think about what this unprovable sentence
probably looks like, it becomes more intuitive to me.

[1]
<https://en.wikipedia.org/wiki/Formula_for_primes#Formula_based_on_a_system_of_Diophantine_equations>

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


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

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


csiph-web