Search:

Type: Posts; User: Kewish

Search: Search took 0.09 seconds.

  1. Thread: Counting primes

    by Kewish
    Replies
    18
    Views
    1,109

    [SOLVED] Re: Counting primes

    Righto, noted.
  2. Thread: Counting primes

    by Kewish
    Replies
    18
    Views
    1,109

    [SOLVED] Re: Counting primes

    He had already solved the problem.
  3. Thread: Counting primes

    by Kewish
    Replies
    18
    Views
    1,109

    [SOLVED] Re: Counting primes

    You're welcome.
  4. Thread: Counting primes

    by Kewish
    Replies
    18
    Views
    1,109

    [SOLVED] Re: Counting primes

    Hi Einar,

    This can be improved.
    - Number of primes < 1000000: 78498
    - Found in: 137.40 seconds

    I did it with mine and here is the output:
    - Number of primes < 1000000: 78498
    - Found in:...
  5. Thread: Counting primes

    by Kewish
    Replies
    18
    Views
    1,109

    [SOLVED] Re: Counting primes

    I have my own prime class that I use on Project Euler all the time. It returns either true or false depending on the number passed into it. It's pretty efficient and can find the first 10,001 prime...
Results 1 to 5 of 5