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


Groups > sci.electronics.design > #399838

Re: set of formulas for computing all prime numbers

Path csiph.com!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From David Brown <david.brown@hesbynett.no>
Newsgroups sci.electronics.design, sci.math
Subject Re: set of formulas for computing all prime numbers
Date Mon, 22 Feb 2016 11:10:55 +0100
Organization A noiseless patient Spider
Lines 67
Message-ID <naemls$9o7$1@dont-email.me> (permalink)
References <na43oi$mgq$1@gioia.aioe.org> <na4c1d$2ml$1@dont-email.me> <na4k04$1ljq$1@gioia.aioe.org> <eulicbdtcosjshfa8nb22ogcckg8vt6gfk@4ax.com> <nabn8l$7r5$2@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
Injection-Date Mon, 22 Feb 2016 10:07:56 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="dc28719e2ffeeb5899be5f5057009353"; logging-data="9991"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/L2Adz5AUKlnjamRad4G4YWNN1uxM84so="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <nabn8l$7r5$2@gioia.aioe.org>
Cancel-Lock sha1:sY1VZHi6kWeNLo8X85N/PoHyZZI=
Xref csiph.com sci.electronics.design:399838 sci.math:328511

Cross-posted to 2 groups.

Show key headers only | View raw


On 21/02/16 07:59, Jamie M wrote:
> On 2/20/2016 10:32 PM, pedro wrote:
>> On Thu, 18 Feb 2016 06:20:48 -0800, Jamie M <jmorken@shaw.ca> wrote:
>>
>>> On 2/18/2016 4:07 AM, David Brown wrote:
>>>> On 18/02/16 10:43, Jamie M wrote:
>>>>> Hi,
>>>>>
>>>>>
>>>>> Here is a set of formulas for computing all prime numbers:
>>>>
>>>> How about just the sequence "n" from 1 to infinity?  It will also
>>>> contain all the prime numbers, and be equally useless, with exactly the
>>>> same characteristics as your list.
>>>
>>> Hi,
>>>
>>> Yes it has all the primes but the density of primes is lower,
>>> ie out of 60 formulas, 43 don't have any primes, yet all 60
>>> formulas have an equal number of digits, so the density of
>>> primes is something like 3.5x higher as only 17 formulas out
>>> of 60, 28% of the overall digits contain all the primes.
>>
>> Ignoring my previous post, the fact that these formulae merely produce
>> a series "containing all primes" is as David states, useless.
>>
>> When we used to produce lists of primes on archaic computers (1960's
>> and 70's) there were simpler approaches than creating a "super-list"
>> that STILL REQUIRES TESTING.
>>
> 
> Hi,
> 
> That is what the next step is to find the formula to make the
> list automatically.
> 

It's easy to make such lists automatically (I would call it an
algorithm, rather than a formula, but it's still easy).

And as has been pointed out, a list of numbers that contains some primes
and some non-primes is useless unless the density of primes is
overwhelmingly large (and for any formula like this, the density
/always/ decreases as you go further out), and/or the non-primes are of
a form that their non-primality can be easily checked.

So nowhere in this process are you going to end up with something
directly useful, and you are highly unlikely to come up with some new
mathematical insight.

However, the whole process can be fun and educational for you as long as
you are clear on that.  And finding sequences that produce an unusually
high prime density can be a very interesting challenge.  The
distribution of primes is, in effect, random - thus there is no end to
the kind of patterns you can find, but the patterns you find will always
break down when you stretch them far enough, and are never /rules/.

Finding sets of the form An + x is pretty much done - working with
ever-greater values of A gets boring very quickly.  Your next step, as I
see it, is to look for different types of formula - I would go for "An²
+ Bn + C" arrangements.  I would also target getting single formula,
rather than a list, with an emphasis on prime density.  Don't worry
about including /every/ prime on the list - that is much less interesting.

But that's just /my/ idea of fun - it's your time you are spending, so
it is your choice..

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


Thread

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

csiph-web