I have created a program to find all the prime numbers less than N.
When N is around 10^4, the program runs fast and efficiently.
If I increse it to 10^5 no output is given, even if i let it run for an hour or so.
Is there anyway I could get my program to output for higher values of N?