The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

hardcore Math Ufies by dennismv2009-02-10 23:25:56
  It's generally likely to be harder by archnerd 2009-02-10 23:42:55
To the best of my knowledge, if you're given a number that's a product of two primes, knowing that it is such doesn't make it any easier to factor.

Pollard's rho algorithm is the usual probablistic algorithm for factoring that you'll find in textbooks. It tends to be reasonably efficient given randomly chosen integers to factor, but the case of products of two large primes is pathologically hard. There is no known way to factor such numbers in probabilistic polynomial time, though neither is there any proof that none exists.

There is, however, an extremely efficient probablistic algorithm for testing primality: Miller-Rabin. There is also AKS which is a deterministic polynomial-time primality test, but it's O(n12) for an n-bit number, which means it's basically useless in practice.

[ Reply ]
    A proof by archnerd2009-02-10 23:56:16

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)