Which is the most efficient way to calculate prime numbers in C? | Hacker News Reader