Basics
What is a prime number?
A number is called prime if and only if has exactly two divisors: and the number itself.
How to find all divisors of a number ?
A naive solution is to iterate through all numbers from to and check divisibility.
Such a method works in . How to improve the code?