Live data from Hacker News

Viewing profile — animeshk

animeshk

HN member
Joined
Tue, Aug 02, 2016, 6:09 PM UTC
HN karma
162
Public activity
134 items

About animeshk

Programmer, entrepreneur.

Recent public activity

  1. story
  2. story
  3. story
  4. story
  5. story
  6. story
  7. story
  8. story
  9. story
  10. story
  11. story
  12. story
  13. story
  14. story
  15. story
  16. story
  17. story
  18. story
  19. story
  20. comment
    Comment #15730096

    Oh yeah.. absolutely! :D

  21. comment
    Comment #15729568

    When a test is contrapositive, it's actually testing for composites. So technically, it should output True for composite but then, the name isPrime doesn't do justice. So I changed…

  22. comment
    Comment #15729511

    Wow. didn't know that! Will add it to the section on Rabin-Miller. Thanks :)

  23. comment
    Comment #15729340

    I wish i could type out that number without losing my sanity.

  24. comment
    Comment #15729284

    You're absolutely right. I just made that change in the article. Thanks for pointing it out!

  25. comment
    Comment #15729243

    Okay.. so 1 should neither be prime nor composite. Because - a) 1 cannot be written as a product of two different factors : ruling out 1 to be composite b) 1 has only 1 positive di…