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


Groups > sci.electronics.design > #399781

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 16:30 -0800
Organization Aioe.org NNTP Server
Message-ID <nadkrf$6to$1@gioia.aioe.org> (permalink)
References (1 earlier) <9ce2ab00-10aa-455b-bf7f-d41ec814d769@googlegroups.com> <nadhsl$1nt8$1@gioia.aioe.org> <618d79e9-5a0e-42ac-92c7-8d5f6a0939d6@googlegroups.com> <nadjsd$230$1@gioia.aioe.org> <5cad5f57-e6dd-4538-9f83-8bb6700efd28@googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to sci.electronics.design | 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 jack4747@gmail.com - 2016-02-18 04:25 -0800
    Re: set of formulas that have no prime numbers Jamie M <jmorken@shaw.ca> - 2016-02-18 06:22 -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 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 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 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-21 15:43 -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 Jamie M <jmorken@shaw.ca> - 2016-02-21 16:14 -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 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 Jamie M <jmorken@shaw.ca> - 2016-02-21 16:56 -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-23 02:31 -0800

csiph-web