Slashdot Mirror


Turns out, Primes are in P

zorba1 writes "Manindra Agrawal et. al. of the Indian Institute of Technology Kanpur CS department have released a most interesting paper today. It presents an algorithm that determines whether a number is prime or not in polynomial time. While I haven't gone through the presentation in detail, it looks like a promising, albeit non-optimized, solution for the famous PRIMES in P problem."

8 of 436 comments (clear)

  1. frist ps0t by Anonymous Coward · · Score: -1, Troll

    math is for suxorzz. get a real major and maybe you'll get laid once in a while.

  2. prime by Anonymous Coward · · Score: -1, Troll

    prime minister.

  3. Re:Huh by KingKire64 · · Score: 0, Troll

    So much for comedy!

    you guys need to relax

    --
    "All I can tell the "lesser of two evils" folks is that if they keep voting for evil, they'll keep getting evil."-Lp.org
  4. This is brute force but.... by chairmanKAGA · · Score: 0, Troll

    ...couldn;t you figure out if a number is prime by taking the number you want to see if is prime, start at 2 and muliply that by every number until it is greater than the number you want to see if is prime, if not then go to 3 and repeat until a number * 2 > than your number?

    This isn't elegant but I'm assuming it would work. I'm not a math wiz, only some calculas but could someone tell me why I'm wrong?

    Also, that is in polynomial time I beleive.

    Also, is the product of 2 primes always prime?

    Thanx.

    --
    "Allez Cusine!"
  5. Open question by Anonymous Coward · · Score: -1, Troll

    How can I prevent coming the moment I enter a child's anus?
    --Michael (michael@s...)

    Dear Michael,

    You can try one of the sprays or creams to deaden sensation, but be sure they don't have oils that can ruin a condom (many do). Also try and ejaculate one time before you attempt anal sex. That should prolong the amount of time it takes you to do it again. If all this fails you can try the desensitizing techniques outlined in my book or take medications that decrease premature ejaculation.

  6. a pedantic ass writes by streetlawyer · · Score: 0, Troll
    It is possible to know that a number is not prime without knowing its factors.

    No it isn't. If you know that X is prime, you know that its factors are 1 and X.

    Yes, I know, I know.

  7. Undergraduate Student Project by Anonymous Coward · · Score: 0, Troll

    It turns out that both Kayal and Saxena are undergraduate students, and the result is developed out of their final-year project thesis. When was the last time that a Senior at a US university produced a result of this calibre? Answer: Never been done.

    Computer Science at IIT, Kanpur, incidentally, has traditionally been the most difficult course to gain admission into in the IIT system. About 250,000 applicants write a grueling entrance test (the JEE) to get admission to about 30~40 seats in CS/IITK.

    Finally, a result to make all that selectivity worthwhile.

  8. Er by cca93014 · · Score: 0, Troll

    Is polynomial-time like Hammer-time?