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


Groups > sci.electronics.design > #408514

Re: anyone take a shot at this

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.electronics.design
Subject Re: anyone take a shot at this
Date 2016-04-21 16:57 -0700
Organization Aioe.org NNTP Server
Message-ID <nfbpde$nee$1@gioia.aioe.org> (permalink)
References <nf69c7$860$1@gioia.aioe.org> <67fb3d1b-2b65-4532-bea3-bdd282dc8f66@googlegroups.com> <4c828146-2448-4d29-8097-f01ab6577285@googlegroups.com> <bfcaefd1-c7d6-4889-b12f-0c2408ef373e@googlegroups.com>

Show all headers | View raw


On 4/21/2016 11:03 AM, mrdarrett@gmail.com wrote:
> On Wednesday, April 20, 2016 at 11:36:41 PM UTC-7, bill....@ieee.org wrote:
>> On Thursday, April 21, 2016 at 7:04:48 AM UTC+10, mrda...@gmail.com wrote:
>>> On Tuesday, April 19, 2016 at 2:53:19 PM UTC-7, Jamie M wrote:
>>>> Hi,
>>>>
>>>> In a range of n numbers using a set of π(n)+1 numbers called Y, select
>>>> the set of numbers Y to maximize the count of pairs of numbers x and y
>>>> from the set Y where x and y are both prime, and where y is larger than
>>>> x, and with (y-x) / 2 equal to a number that exists in the set Y.
>>>>
>>>>
>>>> example1:
>>>>
>>>> n=1 to 10
>>>> π(n)+1 = 5
>>>> count of pairs in Y=6
>>>> Y=1,2,3,5,7
>>>>
>>>>
>>>>
>>>> example2:
>>>>
>>>> n=1 to 100
>>>> π(n)+1=26
>>>> count of pairs in Y=99
>>>> Y=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
>>>>
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>>
>>> It appears that sci.math would be a better forum for this.
>>>
>>> https://groups.google.com/forum/#!forum/sci.math
>>>
>>> Good luck!
>>
>> He'd need it - on present evidence what he actually needs is sci.remedial.math
>>
>> In fact he's explicitly rejected posting anywhere where anybody might be interested in what he posts - he wants to work it out for himself,
which would probably need a brain transplant, or at least an implant, 
granting that nature seems to have drastically short-changed him in that 
department.
>>
>> --
>> Bill Sloman, Sydney
>
>
> Oh, I don't know.  His post inspired me to look at the Sieve of Eratosthenes.  Quite fun.  There's a sample sieve code with the FreeBasic
compiler.  After some modification (it only finds the first million 
primes) it took my computer just 7.5 seconds to find the first 25 
million primes.
I'd forgotten how much fun such things could be.  Of course, to find 
these primes, about 2 gigabytes of RAM for array space are needed... I'm 
sure
the algorithm could be refined further by avoiding storage of multiples 
of two...
>
> Carry on!
>
> Michael

Haha thanks for the encouragement.  Glad to hear you are having fun too,
thats great, something mysterious about the primes seems to make
it fun :)

I want to get back to sieve stuff at some point soon too,
seems like the best way to get a handle on the primes.

cheers,
Jamie


>

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


Thread

anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-19 14:53 -0700
  Re: anyone take a shot at this CORRECTED Jamie M <jmorken@shaw.ca> - 2016-04-19 14:58 -0700
  Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-19 22:39 -0400
    Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 14:02 -0400
      Re: anyone take a shot at this John S <Sophi.2@invalid.org> - 2016-04-20 13:13 -0500
        Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:34 -0400
      Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:31 -0400
        Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 18:32 -0400
          Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 20:50 -0400
  Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-20 14:04 -0700
    Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-20 23:36 -0700
      Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-21 11:03 -0700
        Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 16:57 -0700
        Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-21 23:50 +0000
          Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-22 15:16 -0700
            Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-23 08:25 +0000
              Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 15:36 -0700
                Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 01:24 +0000
        Re: anyone take a shot at this Bill Sloman <bill.sloman@ieee.org> - 2016-04-24 13:31 +1000
          Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-23 20:35 -0700
          Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 21:26 -0700
            Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-24 00:06 -0700
              Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 12:05 +0000
  Re: anyone take a shot at this bloggs.fredbloggs.fred@gmail.com - 2016-04-20 18:18 -0700
    Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 00:35 -0700
      Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-21 00:44 -0700

csiph-web