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


Groups > sci.math > #328462

Re: set of formulas that have no prime numbers

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.math, sci.electronics.design
Subject Re: set of formulas that have no prime numbers
Date 2016-02-21 15:43 -0800
Organization Aioe.org NNTP Server
Message-ID <nadi3u$1nt8$2@gioia.aioe.org> (permalink)
References (4 earlier) <c4e49518-636e-4164-9103-4737a315350d@googlegroups.com> <e26f1efd-0c39-4e7d-9692-1f8c737415b8@googlegroups.com> <nabnnl$8fv$1@gioia.aioe.org> <f29280f6-d4fa-44e9-bebc-da78df5762dc@googlegroups.com> <bd0d9350-3b9e-4b6b-a543-7ad5d394e269@googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 2/21/2016 7:23 AM, djoyce099 wrote:
>
>>>
>>> Hi,
>>>
>>> Hmm, so basically you have given a formula for all non
>>> prime composites, that requires no factorization to
>>> then find the rest of the composites (all primes).
>>>
>>> Is this correct?
>>>
>>> Is there a way to "invert" the whole formula you made
>>> so that you can give it a number and check if it is
>>> prime or not without doing factorization?
>>>
>>> cheers,
>>> Jamie
>>
>> No not all composites but all odd composites as I explained in my first
>> post because there are some even composite exceptions, like all the primes,
>> that are not generated. This does not matter though because I am only picking
>> the empty odd index in the array as prime because all the other odd index's
>> contain an odd composite.
>>
>> On your second question, what is the point?
>> You could easily list all the odd composites from the array and identify just
>> the primes (empty index count) within that list with an "*" .
>>
>> Dan
>
> The Python algorithm has limits you can set on the number of primes to be
> listed depending on the size of the array. Also it can start in a much higher
> prime location with the right calculated parameters to just scan the inner
> range within an array. This can keep the array size down  and run the primes
> in different steps.
>


Hi,

So given a very large number that you don't if it is prime or not, this
algorithm (with arbitrary precision math) should be able to quickly see
if the number is prime without doing any factorization?  Is that right,
and are there other algorithms that can do this?

cheers,
Jamie

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


Thread

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

csiph-web