use GMP find next prime facility for findPrimeFrom