2 ms·
No, it replaces p[j] with p[j]+1. This way, only those that have 1 are prime. They aren't divisible, except by a single number, since the count is 1.
by IncRnd 9y ago
No, it replaces p[j] with p[j]+1. This way, only those that have 1 are prime. They aren't divisible, except by a single number, since the count is 1.