one method of finding prime numbers