Prime math magic answer.

new topic     » topic index » view thread      » older message » newer message

\\\|/////
    \\  - -  //
     (  @ @  )
-- Lucius L. Hilley III  --       lhilley at cdc.net       --
--          of           --                             --
-- Hollow Horse Software -- http://www.cdc.net/~lhilley --
----------------------------------------------------------

I thought about the code I had previously examined.
RDS's sieve is multiplying by 2 so that only the odd
numbers are filtered. 2 is the only even number that is
prime.  All other prime numbers are odd.

Exactly half the sieving is skipped/eliminated.
--------------Oooo----------------------------------------
     oooO    (   )
     (  )     ) /
      \ (    (_/
       \_)

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu