Project Euler [SPOILER #3]

Geoff Canyon Rev gcanyon+rev at gmail.com
Wed Feb 24 13:01:17 EST 2010


Are we talking about the same #3?

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the number 600851475143 ?



On Tue, Feb 23, 2010 at 11:04 AM, Brian Yennie <briany at qldlearning.com> wrote:
> I'm pretty proud of this one for #3... SPOILER ALERT SPOILER ALERT... scroll down if you want to see. Great site find, Andre!!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> put 0 into total
> repeat with i=1 to 100
>  repeat with j=1 to 100
>     if (i=j) then next repeat
>     add i*j to total
>  end repeat
> end repeat
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list