[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] Simplifying fractions
> from memory you are looking for euclid's algorithm. it is probably one
> of the fastest number theory algorithms known to man (O(log^2n) from
> memory). an amazing bit of work. sometimes called the gcd
> algorithm. very nice.
Hmmm, that certainly is much faster than dividing by primes,
since it has the same effect as dividing by primes can you run it
backwards and use it to generate the prime table that you would
have been dividing by? Just a passing thought...
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>