# nthprime(n) gives nth prime number; nthprime(x_):=nth_prime(x);