Several algorithms to search for prime numbers