escape translation and primes smaller than given number