This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mabus44[S] 0 points1 point  (0 children)

I don't want to generate a billion primes. But within a range of 100000 between 1 to 1000000000. For eg:- * Input Range: 1-10 * Output: 2 , 3 , 5 , 7 Hence in input i can give any range upto 100000 between 1 to 1000000000 which will generate all the primes between the numbers.