Project Euler [SPOILER #3]

Brian Yennie briany at qldlearning.com
Wed Feb 24 14:47:47 EST 2010


No, we're actually talking about #6 =).

I put them in order of difficulty and this becomes the 3rd one... but it's actually id 6.

> 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
>> 
>> _____



More information about the use-livecode mailing list