Euler Problems

Mwero Ruwah mwero001 at yahoo.com
Fri Jul 11 11:46:33 BST 2008


Check out this url: http://www.olympus.net/personal/7seas/primes.html
It has three prime number generating algorithms, including the Sieve of Eratosthenes.

--- On Thu, 7/10/08, Andrew Mathenge <mathenge at gmail.com> wrote:
From: Andrew Mathenge <mathenge at gmail.com>
Subject: Re: Euler Problems
To: "ubuntu Kenya" <ubuntu-ke at lists.ubuntu.com>
Date: Thursday, July 10, 2008, 5:24 PM

This email is from a ubuntu-ke subscriber to other subscribers inluding you:)
I've been working on #12 and the performance is simply not acceptable.
Has anyone been able to get this running as fast as some of the posts
on the site claim?

Andrew.

On Tue, Jul 8, 2008 at 12:40 PM, kinuthiA muchanE <muchanek at gmail.com>
wrote:
> Andrew,
> For #10, if you do not use a sieve to find the primes, it will run
> forever!
> There is one called the Sieve of Erastothenes. Check it out on
> Wikipedia.
>
> Good luck :-)
> Kinuthia...
> On Tue, 2008-07-08 at 10:47 -0400, Andrew Mathenge wrote:
>> I'm still trying them. I started at #1 after the one you proposed
>> (#26) and I'm at #10 now. This one should be very simple but I
don't
>> know why it's taking so long to run.
>>
>> Andrew.
>>
>> On Tue, Jul 8, 2008 at 6:52 AM, kinuthiA muchanE
<muchanek at gmail.com> wrote:
>> > Habari,
>> > Anybody still trying these problems, you are all so, so silent...
>> >
>> > Kinuthia...
>> >
>> >
>
>

-- 
Ubuntu-ke mailing list
Ubuntu-ke at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ke


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-ke/attachments/20080711/2f07e7de/attachment.htm 


More information about the Ubuntu-ke mailing list